Closed ErikZhang-9762 closed 2 weeks ago
use of config.complex.setup instead of config
complex_structure, complex_system = femto.fe.septop.setup_complex(
config.complex.setup,
receptor,
ligand_1,
ligand_2
)
The above error no longer occurs.
but new error happen when: receptor_ref_idxs_2 = femto.fe.reference.select_receptor_idxs:
IndexError: index 53 is out of bounds for axis 1 with size 42
ligand_1, ligand_2 = femto.md.system.load_ligands(
ligand_1_coords=eralpha_dir / "forcefield/2d/vacuum.mol2",
ligand_1_params=eralpha_dir / "forcefield/2d/vacuum.parm7",
ligand_2_coords=eralpha_dir / "forcefield/2e/vacuum.mol2",
ligand_2_params=eralpha_dir / "forcefield/2e/vacuum.parm7",
)
When I replaced 2d and 2e with 3a and 3b, the error disappeared. It's weird. I don't know why that is.
use of config.complex.setup instead of config
good catch!
but new error happen when: receptor_ref_idxs_2 = femto.fe.reference.select_receptor_idxs:
this should be fixed by #16!
I'm trying to run the example : https://psivant.github.io/femto/latest/guide-septop/
when:
error happen:
the config is defined by: