Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
993a8aaf
Commit
993a8aaf
authored
Jul 13, 2016
by
Mathieu Giraud
Committed by
Vidjil Team
Jul 13, 2016
Browse files
task.py: run_fuse(), use an id depending on the sample_set
We want to be able to retrieve the last fuses on every sample set
parent
6a6340d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/task.py
View file @
993a8aaf
...
...
@@ -456,7 +456,7 @@ def run_fuse(id_file, id_config, id_data, sample_set_id, clean_before=True, clea
from
subprocess
import
Popen
,
PIPE
,
STDOUT
,
os
out_folder
=
defs
.
DIR_OUT_VIDJIL_ID
%
id_data
output_filename
=
defs
.
BASENAME_OUT_VIDJIL_ID
%
id_data
output_filename
=
defs
.
BASENAME_OUT_VIDJIL_ID
%
id_data
+
'-%s'
%
sample_set_id
if
clean_before
:
cmd
=
"rm -rf "
+
out_folder
...
...
Vidjil Team
@vidjilteam
Mentioned in issue
#1956 (closed)
·
Nov 29, 2016
Mentioned in issue
#1956 (closed)
Mentioned in issue #1956
Toggle commit list
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