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