We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3119fa5 commit 2cdab34Copy full SHA for 2cdab34
1 file changed
scripts/map_improve_drug_ids.py
@@ -462,7 +462,7 @@ def main():
462
463
# 3) Sort final "drugs" by numeric portion If not a SMI_number, reassign to 999999999999.
464
mapping_data["drugs"].sort(key=lambda d: parse_smi_num(d["stable_id"]) or 999999999999)
465
- save_mapping(mapping_data, mapping_file)
+ save_mapping(mapping_data)
466
print(f"Updated {mapping_file} with {len(mapping_data['drugs'])} drugs.")
467
468
# 4) Rewrite the main drug TSV
0 commit comments