Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
talagayev authored Aug 6, 2024
1 parent 0e014fe commit 8a1536b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/MDAnalysis/coordinates/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,7 @@ def __init__(self, filename, convert_units=True, n_atoms=None, **kwargs):
self.filename = filename
else:
self.filename = str(filename)
if "MMTF" in self.filename:
if any(substring in self.filename for substring in ["MMTF", "Parmed", "OpenMM"]):
self.filename = filename

self.convert_units = convert_units
Expand Down

0 comments on commit 8a1536b

Please sign in to comment.