Allow gmxapi.commandline.cli to check GMXBIN.
authorM. Eric Irrgang <ericirrgang@gmail.com>
Fri, 27 Nov 2020 17:39:38 +0000 (20:39 +0300)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 29 Jun 2021 07:08:44 +0000 (07:08 +0000)
commit1be8c2ab69cbcdfdea2dca33da77338a7fe8f3ac
tree945236232c29ed848e1505ef5358425997639005
parent906b9c314198b0d3005d0f3a520c86254f8b8fea
Allow gmxapi.commandline.cli to check GMXBIN.

If `shutil.which` initially fails, try again using
the equivalent of `PATH=$GMXBIN`.

Refs #2961
docs/gmxapi/userguide/usage.rst
python_packaging/scripts/run_full
python_packaging/scripts/run_full_mpi
python_packaging/scripts/run_gmxapi_unittest
python_packaging/scripts/run_sample_test
python_packaging/src/gmxapi/commandline.py
python_packaging/src/setup.py