Skip to content

Commit 950abd6

Browse files
committed
Use Python 3-style super()
1 parent f3fadb6 commit 950abd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modelcif/alignment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class AlignmentMode(modelcif.data.Data):
112112
data_content_type = 'target-template alignment'
113113

114114
def __init__(self, name, pairs, software=None):
115-
modelcif.data.Data.__init__(self, name)
115+
super().__init__(name)
116116
self.pairs = pairs
117117
self.software = software
118118

modelcif/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class CustomModel(Model):
5454
model_type = "Other"
5555

5656
def __init__(self, assembly, name=None):
57-
modelcif.data.Data.__init__(self, name)
57+
super().__init__(name)
5858
self.assembly = assembly
5959
# Assume everything is atomic for ModelCIF models
6060
self.representation = ihm.representation.Representation(

0 commit comments

Comments
 (0)