Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
ca45515c
Commit
ca45515c
authored
Apr 10, 2018
by
Floreal Cabanettes
Browse files
Fix check server side
parent
5d47d5a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/views.py
View file @
ca45515c
...
...
@@ -126,16 +126,16 @@ def launch_analysis():
errors
.
append
(
"Server error: no alignfile_type in form. Please contact the support"
)
form_pass
=
False
if
backup
is
not
None
and
backup
_type
is
None
:
if
backup
is
not
None
and
backup
!=
""
and
(
backup_type
is
None
or
backup_type
==
""
)
:
errors
.
append
(
"Server error: no backup_type in form. Please contact the support"
)
form_pass
=
False
if
backup
is
not
None
:
if
backup
is
not
None
and
backup
!=
""
:
alignfile
=
""
file_query
=
""
file_target
=
""
else
:
backup
=
None
if
file_target
==
""
:
errors
.
append
(
"No target fasta selected"
)
form_pass
=
False
...
...
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