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 9f3499a commit 6065e78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/MDAnalysis/topology/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
from ..lib import util



class _Topologymeta(type):
"""Internal: Topology Parser registration voodoo
Expand Down Expand Up @@ -121,6 +120,8 @@ def __init__(self, filename):
self.filename = filename
else:
self.filename = str(filename)
if "Parser" in self.filename:
self.filename = filename

def parse(self, **kwargs): # pragma: no cover
raise NotImplementedError("Override this in each subclass")
Expand Down

0 comments on commit 6065e78

Please sign in to comment.