Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicolas MAILLET
rpg
Commits
aceef805
Commit
aceef805
authored
Feb 03, 2021
by
Nicolas MAILLET
Browse files
Modify error handeling for check_sequence to work with parallel computation
parent
6f151550
Changes
1
Hide whitespace changes
Inline
Side-by-side
rpg/sequence.py
View file @
aceef805
...
...
@@ -188,6 +188,6 @@ def check_sequence(seq):
validate
=
seq
.
strip
().
upper
()
for
i
in
validate
:
if
i
not
in
core
.
AMINOACIDS
:
core
.
handle_e
rror
s
(
"amino acid
\"
%s
\"
in %s not
recognized."
%
(
i
,
validate
),
0
,
"Sequence "
)
raise
ValueE
rror
(
"amino acid
\"
%s
\"
in %s not
"
\
"recognized."
%
(
i
,
validate
)
)
return
validate
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment