Commit f0eb9cba authored by Marc Duez's avatar Marc Duez

task.py : debug results_file request

parent 9b45689f
......@@ -116,7 +116,7 @@ def run_vidjil(id_file, id_config, id_data, id_fuse):
& ( db.results_file.sequence_file_id == db.sequence_file.id )
& ( db.patient.id == id_patient )
& ( db.results_file.config_id == id_config )
).select( orderby=db.results_file.sequence_file_id|db.results_file.run_date, groupby=db.results_file.sequence_file_id )
).select( orderby=db.sequence_file.id|db.results_file.run_date, groupby=db.sequence_file.id )
for row in query :
if row.results_file.data_file is not None :
files += os.path.abspath(os.path.dirname(sys.argv[0])) + "/applications/vidjil/uploads/"+row.results_file.data_file+" "
......
......@@ -46,8 +46,8 @@
(db.results_file.sequence_file_id==db.sequence_file.id)
& (db.results_file.config_id==str(config_id) )
),
orderby = db.results_file.sequence_file_id|db.results_file.run_date,
groupby = db.results_file.sequence_file_id
orderby = db.sequence_file.id|db.results_file.run_date,
groupby = db.sequence_file.id,
)
}}
{{else:}}
......
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