def loadDNA(self, filename): filename = '/' + filename with open(filename, 'r') as f: tree = DNAParser.parse(f) return tree
def loadDNA(self, filename): with open('/' + filename) as f: tree = DNAParser.parse(f) return tree