Skip to content

Commit

Permalink
fixup: drop index if not used in script
Browse files Browse the repository at this point in the history
Co-authored-by: Jover Lee <[email protected]>
  • Loading branch information
j23414 and joverlee521 authored Feb 9, 2024
1 parent 3f50af3 commit e9a58ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingest/bin/infer-dengue-serotype.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _set_dengue_serotype(record, col="virus_tax_id"):
def main():
args = parse_args()

for index, record in enumerate(stdin):
for record in stdin:
record = json.loads(record)
record[args.out_col] = _set_dengue_serotype(record, col=args.virus_tax_id)
stdout.write(json.dumps(record) + "\n")
Expand Down

0 comments on commit e9a58ce

Please sign in to comment.