ODiogoSilva/innuca-nf

Compile JSON reports

Closed this issue · 1 comments

run_info.json:

{"Sample name": 
    {"modules_run_report": {"spades": [null, null, 0, {"sample": "Not run"}, {"sample": "Not run"}]},
                           {<module>: [<status>,<qc>,<time>,{<fail>},{<warning>}]},
     "run_successfully": true,
     "pass_qc": "FAIL"
}

run_stats.json

{"Sample name": {<module>:<stats>}}

POST for reports should contain:

{
   "project_id": .,
   "pipeline_id": .,
   "process_id": .,
   "sample_name": .,
   "report_json": .
}