Commit 2e025d52 authored by flothoni's avatar flothoni Committed by Mathieu Giraud

web2py/.../task.py: add some indications on the moficifations to make for new preprocess setup

parent edfb9a0e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment