Skip to content

Commit

Permalink
Update 2_generate_frag_sdf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Sep 26, 2023
1 parent df26ed1 commit ca23c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2_generate_frag_sdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
smiles.append(line.strip())

# subprocess.run([f'python -W ignore utils/rdkit_conf_parallel.py {INPUT_SMILES} {OUTPUT_TEMPLATE} --cores {CORES}'], shell=True, stdout=PIPE, stderr=PIPE)
compute_confs_worker(smifile=smiles, sdffile=f"{OUTPUT_TEMPLATE}" + ".csv", pid=f"{CORES}")
compute_confs_worker(smifile=smiles, sdffile=os.path.join(OUT_DIR, f"{OUTPUT_TEMPLATE}" + ".csv"), pid=f"{CORES}")
for sdf in glob('*.sdf'):
shutil.move(sdf, TARGET_DIR)

Expand Down

0 comments on commit ca23c6c

Please sign in to comment.