Last active
August 29, 2015 14:18
-
-
Save terrycojones/6c0eb22d701be74c4faa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def checkAlphabet(self, count=10): | |
""" | |
""" | |
alphabet = Read.checkAlphabet(self, count) | |
if len(self) > 10 and alphabet.issubset(set('ACGT')): | |
raise ... | |
# using the new-style classes super(): | |
def checkAlphabet(self, count=10): | |
""" | |
""" | |
alphabet = super(AARead, self).checkAlphabet(self, count) | |
if len(self) > 10 and alphabet.issubset(set('ACGT')): | |
raise ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment