fix: python3 migration bug
This commit is contained in:
parent
d21c1ca08d
commit
4037b84781
1 changed files with 2 additions and 2 deletions
4
tiger
4
tiger
|
@ -147,7 +147,7 @@ keep = []
|
||||||
br = ""
|
br = ""
|
||||||
if doPTP:
|
if doPTP:
|
||||||
comp_disagree = []
|
comp_disagree = []
|
||||||
disagree = range(len(patterns))
|
disagree = list(range(len(patterns))) #disagree = range(len(patterns))
|
||||||
|
|
||||||
for aa, patA in enumerate(comp_Pats):
|
for aa, patA in enumerate(comp_Pats):
|
||||||
if re.search("\|", patA):
|
if re.search("\|", patA):
|
||||||
|
@ -260,7 +260,7 @@ print ("\tDimensions nchar = "), len(seqs[0]), ";"
|
||||||
print ("\tFormat datatype = "), datatype, " gap = - interleave;\nMatrix\n"
|
print ("\tFormat datatype = "), datatype, " gap = - interleave;\nMatrix\n"
|
||||||
|
|
||||||
|
|
||||||
sorted = range(len(seqs[0]))
|
sorted = list(range(len(ranks))) #sorted = range(len(seqs[0]))
|
||||||
if formSort == 1:
|
if formSort == 1:
|
||||||
sorted = range(len(ranks))
|
sorted = range(len(ranks))
|
||||||
sr = ranks[:]
|
sr = ranks[:]
|
||||||
|
|
Loading…
Reference in a new issue