figuring out a bug
This commit is contained in:
@ -130,16 +130,16 @@ def UNITEIterator(f):
|
||||
idSeq = fields[0][1:]
|
||||
seq = allSeq[1]
|
||||
s = NucSequence(idSeq, seq)
|
||||
if fields[1] != '-' :
|
||||
s['ISDN_species_name'] = fields[1]
|
||||
if fields[3] != '-' :
|
||||
s['UNITE_species_name'] = fields[3]
|
||||
#if fields[1] != '-' :
|
||||
s['ISDN_species_name'] = fields[1]
|
||||
#if fields[3] != '-' :
|
||||
s['UNITE_species_name'] = fields[3]
|
||||
path1 = fields[2].replace(';', ',')
|
||||
path2 = fields[4].replace(';', ',')
|
||||
if path1 != '-' :
|
||||
s['ISDN_path'] = path1
|
||||
if path2 != '-' :
|
||||
s['UNITE_path'] = path2
|
||||
#if path1 != '-' :
|
||||
s['ISDN_path'] = path1
|
||||
#if path2 != '-' :
|
||||
s['UNITE_path'] = path2
|
||||
yield s
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user