Skip to content

Commit dcabaea

Browse files
committed
temporary fix to remove drug compounds from drug_smiles.tsv that have no smiles string
1 parent b9bc5d3 commit dcabaea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/prepare_data_for_improve.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ def process_datasets(args):
402402
columns={'improve_drug_id': 'improve_chem_id'},
403403
inplace=True,
404404
)
405+
out_df = out_df.dropna(how='any',axis=0)
405406

406407
outfile_path = args.WORKDIR.joinpath(
407408
"data_out",

0 commit comments

Comments
 (0)