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 90e32a6 commit 35c2306
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 @@ -1663,7 +1663,7 @@ class SingleFrameReaderBase(ProtoReader):
def __init__(self, filename, convert_units=True, n_atoms=None, **kwargs):
super(SingleFrameReaderBase, self).__init__()

if isinstance(filename, NamedStream) or "MMTF" in filename::
if isinstance(filename, NamedStream) or "MMTF" in filename:
self.filename = filename
else:
self.filename = str(filename)
Expand Down

0 comments on commit 35c2306

Please sign in to comment.