Skip to content

Commit

Permalink
fixing use of super class method for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Apr 30, 2018
1 parent db4014c commit cb72c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wc_rules/seq.py
Expand Up @@ -73,7 +73,7 @@ def _get_feature_location_object(self):
return Bio.SeqFeature.FeatureLocation(self.position, self.position + self.length)

def _verify_site_molecule_compatibility(self,molecule):
check = super()._verify_site_molecule_compatibility(molecule)
check = super(SequenceFeature, self)._verify_site_molecule_compatibility(molecule)
if check and self._verify_feature(molecule,self.position,self.length):
return True
return False
Expand Down

0 comments on commit cb72c06

Please sign in to comment.