Commit 4ef3278c authored by Marc Duez's avatar Marc Duez

server: debug task.py (missing space betwenn file in fuse.py command)

parent cd895252
......@@ -56,7 +56,7 @@ def run_vidjil(id_file, id_config, id_data, id_fuse):
).select( orderby=db.sequence_file.sampling_date )
for row in query :
if row.data_file.data_file is not None :
files += os.path.abspath(os.path.dirname(sys.argv[0])) + "/applications/vidjil/uploads/"+row.data_file.data_file
files += os.path.abspath(os.path.dirname(sys.argv[0])) + "/applications/vidjil/uploads/"+row.data_file.data_file+" "
cmd = "python ../fuse.py -o "+output_file+" -t 100 -g "+vidjil_germline+" "+files
......
......@@ -119,7 +119,7 @@ query = db(
<td> {{if row.data_file.run_date :}}{{=row.data_file.run_date }}{{pass}} </td>
<td>
{{if filename != '' and config_id != -1:}}
{{if row.data_file.id == None or status == "COMPLETED" :}}
{{if row.data_file.id == None or ( status != "RUNNING" and status != "QUEUED"):}}
<span class="button" onclick="db.call('default/run_request', { 'sequence_file_id' : '{{=row.sequence_file.id}}', 'config_id' : {{=config_id}} } )"> run >> </span>
{{else:}}
{{=status}}
......
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