force-h2020 / force-bdss-plugin-gromacs

Gromacs BDSS data sources, as well as a stand-alone wrappers around Gromacs tools.
MIT License
0 stars 0 forks source link

File check for Fragment topology parser #12

Closed flongford closed 5 years ago

flongford commented 5 years ago

This PR includes an extra file check for the Fragment class topology parser in order to avoid raising unnecessary exceptions.

Now, a GromacsTopology reader will not be called in the Fragment._data property getter unless the topology attribute is defined, therefore averting an inevitable IOError.