Open sckott opened 9 months ago
@vortexing any insight into this?
This could also be important when we want to validate all JSON files especially as the community begins to build out their own WDLs
We also want to reconsider the verbosity of errors that is thrown out when a workflow does not validate!
These are features (weaknesses) of womtool itself. These are all something that the tool being run and it's API limit us to. If we allow additional functionality, we'll have to build it. This one is a larger lift to fix.
If more than 1 input json is provided, the shiny app will have to take them, concatenate them, then pass that consolidated json to womtool to validate. If you all want to do this, great, but I am not going to list it as a priority today.
I echo @vortexing's sentiment above 100%. Would be nice to have, but not a priority for v1.X. That being said, I think it's very important for v2.0 since we will already be reorganizing things at that point. Adding to the v2.0 milestone and tagging as low priority for now.
(via a call with Sita today)
In the validate page only one JSON file can be uploaded. It would be nice to be able to validate more than one.
In the validate code https://github.com/FredHutch/shiny-cromwell/blob/main/app/server.R#L52-L57 we could make a change, depending on how the Cromwell API route behaves within the cromwellValidate function. I can't quite tell from the API docs if multiple JSON files are accepted or not. If not, we could run
cromwellValidate
in a loop/lapply for each JSON filecc @sitapriyamoorthi