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
2e025d52
Commit
2e025d52
authored
Sep 24, 2018
by
flothoni
Committed by
Mathieu Giraud
Sep 26, 2018
Browse files
web2py/.../task.py: add some indications on the moficifations to make for new preprocess setup
parent
edfb9a0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/task.py
View file @
2e025d52
...
...
@@ -811,6 +811,11 @@ def run_pre_process(pre_process_id, sequence_file_id, clean_before=True, clean_a
cmd
=
cmd
.
replace
(
"&file2&"
,
defs
.
DIR_SEQUENCES
+
sequence_file
.
data_file2
)
cmd
=
cmd
.
replace
(
"&result&"
,
output_file
)
cmd
=
cmd
.
replace
(
"&pear&"
,
defs
.
DIR_PEAR
)
# Example of template to add some preprocess shortcut
# cmd = cmd.replace("&preprocess_template&", defs.DIR_preprocess_template)
# Where &preprocess_template& is the shortcut to change and
# defs.DIR_preprocess_template the variable to set into the file defs.py.
# The value should be the path to access to the preprocess software.
print
(
"=== Pre-process %s ==="
%
pre_process_id
)
print
(
cmd
)
...
...
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