Open-Systems-Pharmacology / QualificationRunner

Qualification runner in charge of managing a qualification workflow
Other
0 stars 1 forks source link

Add a way to copy all "static content" files to destination without generating the projects outputs again #115

Open msevestre opened 2 years ago

msevestre commented 2 years ago

@Yuri05 I might be missing something in the flow so if this does not make sense, please let me know

with the CKD, we are working on the static content via PR etc.., The content is defined in the input folder of the qualification runner. However, in order to generate a new report based on that content, I need to copy the changed file to the input folder of the reporting engine. This needs to be done by hand

I would value an option to start the qualification-runner in "writer" mode or sthg and it would simply copy all the static assets (and the one downloaded from github if any) but would not delete nor load any snapshot project

something like

QualificationRunner.exe -i "<path_to_qualification_plan.json>" -o "C:\dev\CKD-Quakification\re_input" -w

This would mean no pksim required etc.. Just read the json plan and export all content files in the re_input folder

After that I can rerun the qualification workflow by deactivating the simulate task for instance. Of course, if there is any dynamic content changed e.g. defined in the snapshot file), this does not work.

Yuri05 commented 2 years ago

I don't quite understand the problem. I don't need to copy anything manually. Here an example. Qualification_Anchor.zip Calling it e.g. like this:

source("workflow.R")
createQualificationReport(qualificationRunnerFolder = "C:/QualiRunner_11.0.128", pkSimPortableFolder = "C:/PK-Sim_11.0.137")

workflow.R comes from the RE template (https://github.com/Open-Systems-Pharmacology/OSPSuite.ReportingEngine/blob/develop/inst/extdata/qualification-workflow-template.R) and does the whole job