Commit edb0106c authored by Celine Mercier's avatar Celine Mercier

obiaddtaxids: UNITE databases not restrained to Fungi anymore, and

better check of format
parent c198e7d8
......@@ -348,6 +348,8 @@ if __name__=='__main__':
entryIterator = SILVAIterator
entries = entryIterator(entries, tax)
options.tagname = 'species_name'
raise Exception("Invalid database format (see --format option)")
......@@ -395,7 +397,7 @@ if __name__=='__main__':
elif ((options.db_type =='UNITE_FULL') or (options.db_type =='UNITE_GENERAL')) :
restricting_ancestor = tax.findTaxonByName('Fungi')[0][0]
restricting_ancestor = None
for s in entries :
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment