common-workflow-language / common-workflow-language/cwltool

when `format` is erroneously specified for `type: Directory` inputs, error out

Open
#607 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
376
Forks
255
Avg merge
2d 7h
Merged PRs (30d)
12

Description

Example: https://github.com/EOSC-LOFAR/prefactor-cwl/pull/15/commits/c94b7d2fb1b6df64ae2c3acbdce85e2d63627eb1
```
make no-singularity
make run
```
Here execution continues until a confusing message during the first scatter, instead of complaining upfront

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with `make no-singularity` followed by `make run`, using the linked example as context. Trace the validation path for a `type: Directory` input with an erroneous `format`; done means execution fails upfront with a clear error instead of continuing to the first scatter.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.