Skip to content

Commit 2cdab34

Browse files
committed
bug fix
1 parent 3119fa5 commit 2cdab34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/map_improve_drug_ids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def main():
462462

463463
# 3) Sort final "drugs" by numeric portion If not a SMI_number, reassign to 999999999999.
464464
mapping_data["drugs"].sort(key=lambda d: parse_smi_num(d["stable_id"]) or 999999999999)
465-
save_mapping(mapping_data, mapping_file)
465+
save_mapping(mapping_data)
466466
print(f"Updated {mapping_file} with {len(mapping_data['drugs'])} drugs.")
467467

468468
# 4) Rewrite the main drug TSV

0 commit comments

Comments
 (0)