🐛 alignment workflow cwltool compatibility #135
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR is a series of changes I made to the alignment workflow so that it could be run in a cwltool runner environment.
null
; cwltool on the other hand will represent it as[null, null, null, ...]
. I wrote an expression that handles both in a faux-first_non_null fashionnull
returns. This was something that was actually happening in Cavatica as well, but Cavatica doesn't do the output type validation like cwltool. Returningnull
in aFile[]
will cause an error in the latter so I changed the expression to get rid of those.Closes https://github.com/d3b-center/bixu-tracker/issues/2291
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: