Skip to content

Commit

Permalink
Note that modelcif Model is not a subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 27, 2024
1 parent f044bc8 commit ffd5cc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ihm/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ class Model(object):
:param str name: Descriptive name for this model.
"""
def __init__(self, assembly, protocol, representation, name=None):
# Note that a similar Model class is used in python-modelcif but it
# is not a subclass. So be careful when modifying this class to not
# break the API (e.g. by adding new members).
self.assembly, self.protocol = assembly, protocol
self.representation, self.name = representation, name
self._atoms = []
Expand Down

0 comments on commit ffd5cc3

Please sign in to comment.