-
Notifications
You must be signed in to change notification settings - Fork 1
Description
When I ran the command: wisp Int-R3-500ns-s10-ensemble.pdb --source_residues C_PLP_645 --sink_residues C_PLP_1449
it says: Traceback (most recent call last):
File "/home/daviddelima/anaconda3/envs/wisp/bin/wisp", line 5, in
from wisp.run import main
File "/home/daviddelima/anaconda3/envs/wisp/lib/python3.12/site-packages/wisp/run.py", line 8, in
from .cli import run_cli
File "/home/daviddelima/anaconda3/envs/wisp/lib/python3.12/site-packages/wisp/cli.py", line 5, in
from .contexts import ContextManager
File "/home/daviddelima/anaconda3/envs/wisp/lib/python3.12/site-packages/wisp/contexts.py", line 7, in
from ruamel.yaml import YAML
ModuleNotFoundError: No module named 'ruamel'
So, I installed ruamel using pip install "ruamel.yaml<0.18.0"
And then, I rerun the command.
I get this:
wisp Int-R3-500ns-s10-ensemble.pdb --source_residues C_PLP_645 --sink_residues C_PLP_1449
Traceback (most recent call last):
File "/home/daviddelima/anaconda3/envs/wisp/bin/wisp", line 8, in
sys.exit(main())
^^^^^^
File "/home/daviddelima/anaconda3/envs/wisp/lib/python3.12/site-packages/wisp/run.py", line 79, in main
run_wisp(context_manager)
File "/home/daviddelima/anaconda3/envs/wisp/lib/python3.12/site-packages/wisp/run.py", line 48, in run_wisp
sources = correlation_matrix_object.convert_list_of_residue_keys_to_residue_indices(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/daviddelima/anaconda3/envs/wisp/lib/python3.12/site-packages/wisp/utils.py", line 326, in convert_list_of_residue_keys_to_residue_indices
index_of_key = np.nonzero(
^^^^^^^^^^^
IndexError: index 0 is out of bounds for axis 0 with size 0
I tried running this in jupyter-notebook:
from wisp.run import run_wisp
from wisp.contexts import ContextManager
Update context
context_manager = ContextManager()
context_manager.pdb_path = "tests/files/trajectory_20_frames.pdb"
context_manager.source_residues = ["C_LEU_10"]
context_manager.sink_residues = ["C_ASP_11"]
Run wisp
paths = run_wisp(context_manager)
But it says that the loguru was missing when it was successfully installed