JeffSHF / ColabDock

Code for ColabDock paper
Other
114 stars 12 forks source link

Potential error in the test run #1

Closed aravinda1879 closed 1 year ago

aravinda1879 commented 1 year ago

Hi, While trying to run the test case, I came across the following error wanted to check if there is a way to fix this. *code was able to run without any issue till line 64 in main.py

prediction stage inference: infer epoch 1 0%| | 0/19 [00:00<?, ?it/s]/software/ColabDock/colabdesign/af/alphafold/model/mapping.py:50: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead. values_tree_def = jax.tree_flatten(values)[1] /software/ColabDock/colabdesign/af/alphafold/model/mapping.py:54: FutureWarning: jax.tree_unflatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_unflatten instead. return jax.tree_unflatten(values_tree_def, flat_axes) /software/ColabDock/colabdesign/af/alphafold/model/mapping.py:128: FutureWarning: jax.tree_flatten is deprecated, and will be removed in a future release. Use jax.tree_util.tree_flatten instead. flat_sizes = jax.tree_flatten(in_sizes)[0] 0%| | 0/19 [00:20<?, ?it/s] Traceback (most recent call last): File "/software/ColabDock/main.py", line 64, in dock_model.dock_rank() File "/software/ColabDock/colabdock/model.py", line 109, in dock_rank self.inference() File "/software/ColabDock/colabdock/docking.py", line 91, in inference af_model.dis_infer(save_path) File "/software/ColabDock/colabdesign/af/model.py", line 182, in dis_infer save_pdb_from_aux(i_aux, save_path) File "/software/ColabDock/colabdesign/af/utils.py", line 197, in save_pdb_from_aux with open(filename, 'w') as f: FileNotFoundError: [Errno 2] No such file or directory: './results/pred/pred_1_1.pdb'

JeffSHF commented 1 year ago

Hi, seems it's a path typo and has been fixed. Please repull the repo. Thanks

aravinda1879 commented 1 year ago

Thanks a lot. works great!