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.
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 theFragment._data
property getter unless thetopology
attribute is defined, therefore averting an inevitableIOError
.