Closed theavey closed 5 years ago
I can't think of a pretty way to fix this. If you know of a good way to handle this let me know!
However, I can think of a really rough way: Before you start, make aliases for the offending commands:
import gromacs
gromacs.tools.Grompp = gromacs.tools.Grompp_mpi
gromacs.tools.Trjconv = gromacs.tools.Trjconv_mpi
Does this work?
Closing (no further feedback).
I added your question to https://github.com/Becksteinlab/GromacsWrapper/wiki/Questions-and-Answers
Given that @theavey is working on a fix in PR #165 I reopen it.
My installation of gromacs has commands named, for example,
gmx_mpi
(all ending_mpi
). These then get used in this tools as, for example,gromacs.grompp_mpi
. This normally works fine for me, but when trying to importgromacs.setup
, there are two commands that are issues: one on line 585 ofcbook.py
and one on line 163 ofsetup.py
. One callstools.Grompp
(which for me needed to betools.Grompp_mpi
) and the other callsgromacs.tools.Trjconv
(which needed to begromacs.tools.Trjconv_mpi
).I'm not sure if there is a way to automatically find what these should be called based on how the functions are defined, or if this is just something I need to deal with (and manually fix) because of my differently-named gromacs commands.