Closed stolarczyk closed 3 years ago
Should I make it fail with a more informative error or should it silently just skip the schema-sourced sample attributes ?
this is related to https://github.com/pepkit/peppy/issues/356#issuecomment-703757580
there's probably a better way to do this. if there's no schema, then the plugin wouldn't need to adjust the yaml and and just output the regular one.
For now, it should simply not fail here, just not do anything. err-- just print out the basic yaml without any cwl-specific updates, since no attributes were specified as files.
In the future, this should be using some other variable, I think, rather than re-parsing the schema.
We say describe the
input_schema
attribute as "RECOMMENDED" in the pipeline interface spec, but the CWL plugin requires this attribute and does not fail gracefully when it's not defined: