figuring out a bug

This commit is contained in:
Céline Mercier
2013-09-04 10:11:10 +00:00
parent e3aaa53be1
commit 7e8835295a

View File

@ -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