Becksteinlab / GromacsWrapper

GromacsWrapper wraps system calls to GROMACS tools into thin Python classes (GROMACS 4.6.5 - 2024 supported).

Home Page:https://gromacswrapper.readthedocs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unclosed file in `config.py`

njzjz opened this issue · comments

/opt/hostedtoolcache/Python/3.9.17/x64/lib/python3.9/site-packages/gromacs/config.py:511: ResourceWarning: unclosed file <_io.TextIOWrapper name='/opt/hostedtoolcache/Python/3.9.17/x64/lib/python3.9/site-packages/gromacs/templates/gromacswrapper.cfg' mode='r' encoding='UTF-8'>
  self.read_file(open(default_cfg))

If you have a patch to fix then please contribute!