Closed afrendeiro closed 4 years ago
eido is a validation tool for PEPs, not pipeline interfaces. However, the pipeline interface is indeed validated against a schema every time it's read, but within looper: https://github.com/pepkit/looper/blob/ba5e3231c9012ec5459b047c663d0c0db0dedbf1/looper/pipeline_interface.py#L51
Ah, alright my bad. Thanks!
the pipeline interfaces will validate using straight-up JSON-schema... eido isn't necessary for that.
but this does bring up a point -- there's not an easy way that I could find to validate the yaml file (the jsonschema
command expects it to be in json format). So maybe the eido
command could have a simple function that would just wrap jsonschema. we're doing that already...
I tried validating the pipeline interface provided in the example without success: http://looper.databio.org/en/latest/pipeline-interface-specification/#Overview%20of%20pipeline%20interface%20components
Similar output for other pipeline interfaces that look valid on manual inspection.