We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a855376 + 67bd79a commit b63a594Copy full SHA for b63a594
GMXMMPBSA/utils.py
@@ -645,15 +645,14 @@ def find_progs(INPUT, mpi_size=0):
645
# The returned dictionary:
646
my_progs = {}
647
648
- search_parth = INPUT['gmx_path'] or os.environ['PATH']
649
-
650
for prog, needed in used_progs.items():
651
- my_progs[prog] = shutil.which(prog, path=search_parth)
+ my_progs[prog] = shutil.which(prog, path=os.environ['PATH'])
652
if needed:
653
if not my_progs[prog]:
654
GMXMMPBSA_ERROR('Could not find necessary program [%s]' % prog)
655
logging.info('%s found! Using %s' % (prog, str(my_progs[prog])))
656
+ search_parth = INPUT['gmx_path'] or os.environ['PATH']
657
g5 = False
658
for gv, g_exes in gro_exe.items():
659
if gv == 'gmx5':
0 commit comments