Get overall validate status after running on a directory #1246
tloubrieu-jpl
started this conversation in
General
Replies: 2 comments
-
|
Checking the exit code should mostly do the trick. The only catch there is WARNING messages will be considered a PASS, so it would probably be good to at least spot check those messages or the overall summary that is output to ensure there are not some more concerning issues hidden in the "success" run (e.g. floating files in the archive only throw warnings, but those could be data products missing labels) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks Jordan ! I will go with the status code and I should be able to verify that the string '0 warning(s)' is in the stdout. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
As part of the Europa-Clipper Science Data System development, I would like to integrate validate in my automated test after PDS4 products are created.
I would run validate on a directory and I only want to check that all product validations were successful. I don't need more details. Can I use the exit code of validate ? What would you think would be the easier to get a True/False validate status on the directory ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions