Skip to content

Commit 08ca2ba

Browse files
committed
fix to the drug_info routine where the removal of improve_drug_ids broke the script
1 parent 7e9d4ac commit 08ca2ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/prepare_data_for_improve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def process_datasets(args):
470470
logger.info(
471471
f"Removing all chemical compunds with ids: '{args.EXCL_DRUGS_LIST}'"
472472
)
473-
out_df = out_df[~out_df['improve_drug_id'].isin(args.EXCL_DRUGS_LIST)]
473+
out_df = out_df[~out_df['improve_chem_id'].isin(args.EXCL_DRUGS_LIST)]
474474

475475
outfile_path = args.WORKDIR.joinpath(
476476
"data_out",

0 commit comments

Comments
 (0)