Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
talagayev committed Aug 6, 2024
1 parent c4cf85d commit 0e014fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package/MDAnalysis/coordinates/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,9 @@ def __init__(self, filename, convert_units=True, n_atoms=None, **kwargs):
self.filename = filename
else:
self.filename = str(filename)

if "MMTF" in self.filename:
self.filename = filename

self.convert_units = convert_units

self.n_frames = 1
Expand Down

0 comments on commit 0e014fe

Please sign in to comment.