Skip to content

Commit

Permalink
[TEST] Updating GMXLIB of docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
PauAndrio committed May 29, 2024
1 parent 6c03762 commit 78b2068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions biobb_pmx/pmxbiobb/pmxmutate.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ def __init__(self, input_structure_path: str, output_structure_path: str, input_

# Properties common in all PMX BB
self.gmx_lib = properties.get('gmx_lib', None)
if not self.gmx_lib and os.environ.get('CONDA_PREFIX', ''):
if not self.gmx_lib and os.environ.get('CONDA_PREFIX'):
python_version = f"{sys.version_info.major}.{sys.version_info.minor}"
self.gmx_lib = str(
Path(os.environ.get('CONDA_PREFIX', '')).joinpath(f"lib/python{python_version}/site-packages/pmx/data/mutff/"))
if properties.get('container_path'):
self.gmx_lib = str(Path('/usr/local/').joinpath("lib/python3.7/site-packages/pmx/data/mutff/"))
self.gmx_lib = str(Path('/usr/local/').joinpath("lib/python3.8/site-packages/pmx/data/mutff/"))
self.binary_path = properties.get('binary_path', 'pmx')

# Check the properties
Expand Down

0 comments on commit 78b2068

Please sign in to comment.