Closed ArtPoon closed 4 years ago
art@orolo:~/git/poplars/poplars$ python sequence_locator.py locate CAACAGCAAAGCAATTTGCTGAGGG hiv nucl Traceback (most recent call last): File "sequence_locator.py", line 889, in <module> main() File "sequence_locator.py", line 858, in main ref_genome = Genome(nt_coords_handle, ref_nt_seq, aa_coords_handle, ref_aa_seq, reference_sequence) File "sequence_locator.py", line 307, in __init__ self.ref_genome_regions = self.make_ref_regions(nt_coords, aa_coords, aa_seq) File "sequence_locator.py", line 323, in make_ref_regions seq_region = RefRegion(nt_line[0], self, nucl_coords) File "sequence_locator.py", line 89, in __init__ super().__init__(region_name, genome, ncoords, pcoords) TypeError: super() takes at least 1 argument (0 given)
Oops! I forgot that Python3 supports calling super() with no parameters, but Python2 doesn't.
super()