Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing error message when using empty file #1650

Open
ALuesink opened this issue Mar 25, 2022 · 0 comments
Open

Missing error message when using empty file #1650

ALuesink opened this issue Mar 25, 2022 · 0 comments

Comments

@ALuesink
Copy link
Contributor

Issue

When running the cwltool with an empty CWL or YML file, the error message is empty.

image

Full Traceback

INFO /rnaseq-cwl-training-exercises/env/bin/cwltool 3.1.20220224085855
INFO Resolved 'rna_seq_workflow.cwl' to 'file:/rnaseq-cwl-training-exercises/rna_seq_workflow.cwl'
ERROR I'm sorry, I couldn't load this CWL file.
The error was: 
Traceback (most recent call last):
  File "/rnaseq-cwl-training-exercises/env/lib/python3.8/site-packages/cwltool/main.py", line 1109, in main
    loadingContext, workflowobj, uri = fetch_document(uri, loadingContext)
  File "/rnaseq-cwl-training-exercises/env/lib/python3.8/site-packages/cwltool/load_tool.py", line 133, in fetch_document
    loadingContext.loader.fetch(fileuri, content_types=CWL_CONTENT_TYPES),
  File "schema_salad/ref_resolver.py", line 990, in fetch
StopIteration

Your Environment

  • cwltool version: 3.1.20220224085855
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant