Skip to content

Commit

Permalink
Update 3_difflinker_sample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Sep 27, 2023
1 parent b2fe9cf commit 3f2991b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3_difflinker_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
OUTPUT_DIR = f'output/n_atoms_{n_atoms}/{node}'
os.makedirs(OUTPUT_DIR,exist_ok=True)
# subprocess.run(f'python -W ignore utils/difflinker_sample_and_analyze.py --linker_size {n_atoms} --fragments data/fragments_all/{node}/hMOF_frag.sdf --model models/geom_difflinker.ckpt --output {OUTPUT_DIR} --n_samples 1',shell=True)
main_run(input_path="data/fragments_all/{node}/hMOF_frag_frag.sdf", model="models/geom_difflinker.ckpt", linker_size=str(n_atoms), output_dir=OUTPUT_DIR, n_samples=3, n_steps=None, anchors=None)
main_run(input_path=f"data/fragments_all/{node}/hMOF_frag_frag.sdf", model="models/geom_difflinker.ckpt", linker_size=str(n_atoms), output_dir=OUTPUT_DIR, n_samples=1, n_steps=None, anchors=None)

# change to the line below to reproduce paper result
#subprocess.run(f'python -W ignore utils/difflinker_sample_and_analyze.py --linker_size {n_atoms} --fragments data/fragments_all/{node}/hMOF_frag.sdf --model models/geom_difflinker.ckpt --output {OUTPUT_DIR} --n_samples 20',shell=True)

0 comments on commit 3f2991b

Please sign in to comment.