pepkit / looper

A job submitter for Portable Encapsulated Projects
http://looper.databio.org
BSD 2-Clause "Simplified" License
20 stars 7 forks source link

Fix broken test and CI action #352

Closed vreuter closed 1 year ago

vreuter commented 1 year ago

Close #354

@nsheff can you please see whether these changes reflect what you'd like re: sample validation and failing the whole procedure? as is written, this makes the fewest changes to existing behavior, but rather just updates messaging a bit and fixes the test expectation. I worded my question on #354, especially the third part, a bit oddly / ambiguously, so I wasn't sure how best to read your reply.

In any case, the changes here will cause the sample to fail (and whole thing to short-circuit) if validation fails for any (probably, as you note, the only) schema. It will, however, not fail if no schema can be read / found (and therefore the sample proceeds unvalidated).

vreuter commented 1 year ago

Somewhat dependent of #354