Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
4fa0e34f
Commit
4fa0e34f
authored
Nov 17, 2017
by
Floreal Cabanettes
Browse files
Fix send of mail
parent
82b3e7e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
srv/main.py
View file @
4fa0e34f
...
...
@@ -232,8 +232,8 @@ def build_fasta(id_res):
while
os
.
path
.
exists
(
lock_query
)
and
i
<
2
:
i
+=
1
time
.
sleep
(
5
)
os
.
remove
(
lock_query
+
".pending"
)
if
os
.
path
.
exists
(
lock_query
):
os
.
remove
(
lock_query
+
".pending"
)
return
jsonify
({
"success"
:
True
,
"status"
:
1
,
"status_message"
:
"In progress"
})
return
jsonify
({
"success"
:
True
,
"status"
:
2
,
"status_message"
:
"Done"
,
"gzip"
:
query_fasta
.
endswith
(
".gz"
)
or
query_fasta
.
endswith
(
".gz.sorted"
)})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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