Skip to content
Snippets Groups Projects
Commit aceef805 authored by Nicolas  MAILLET's avatar Nicolas MAILLET
Browse files

Modify error handeling for check_sequence to work with parallel computation

parent 6f151550
No related branches found
No related tags found
No related merge requests found
......@@ -188,6 +188,6 @@ def check_sequence(seq):
validate = seq.strip().upper()
for i in validate:
if i not in core.AMINOACIDS:
core.handle_errors("amino acid \"%s\" in %s not recognized." %
(i, validate), 0, "Sequence ")
raise ValueError("amino acid \"%s\" in %s not "\
"recognized." % (i, validate))
return validate
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment