Skip to content

Commit

Permalink
Update 1_fragmentation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Sep 18, 2023
1 parent 161456a commit 28f8330
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 1_fragmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,8 @@ def fragmentation():
if not os.path.isfile(f'data/fragments_smi/frag_{node_name}.txt'):
# generate fragment SMILES
print('Generating SMILES ... ')
prepare_sdf()
prepare_sdf(sdf_path=f"data/conformers/conformers_{node_name}.sdf", output_path=f"data/fragments_smi/frag_{node_name}.txt", verbose=True)
# subprocess.run(f'python utils/prepare_data_from_sdf.py --sdf_path data/conformers/conformers_{node_name}.sdf --output_path data/fragments_smi/frag_{node_name}.txt --verbose',shell=True)

if __name__ == "__main__":
fragmentation()

0 comments on commit 28f8330

Please sign in to comment.