Commit c172c66b authored by peguerin's avatar peguerin
Browse files

edit error message

parent 2019358a
......@@ -36,7 +36,7 @@ def curation(curateCsvFile, results, taxDic, ncbi):
currentName = extract_species_name_from_description(record.description)
curatedName = query_curation(currentName, dfCure)
if curatedName is False:
sys.exit("ERROR in {0}: faulty taxon name {1} not found.".format(curateCsvFile, currentName))
sys.exit("ERROR: faulty taxon name {1} not found in file {0}.".format(curateCsvFile, currentName))
if curatedName in ["NaN", "Na", "NA", "", None, "nan"]:
print("application obitaxonommy")
continue
......
Supports Markdown
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