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

How to stop cwltool to download $schemas (is there way full ignore?)

Open
#914 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
376
Forks
255
Avg merge
2d 7h
Merged PRs (30d)
12

Description

## Expected Behavior
--skip-schemas - I believe has to skip to download them

I use --non-strict --skip-schemas

## Actual Behavior
Schema salad still downloads it

## Workflow Code
```
$namespaces:
s: http://schema.org/

$schemas:
- http://schema.org/docs/schema_org_rdfa.html

s:name: "bowtie-index"
s:downloadUrl: https://raw.githubusercontent.com/SciDAP/workflows/master/dummy/bowtie-index.cwl
s:codeRepository: https://github.com/SciDAP/workflows
s:license: http://www.apache.org/licenses/LICENSE-2.0

s:isPartOf:
class: s:CreativeWork
s:name: Common Workflow Language
s:url: http://commonwl.org/
s:creator:
- class: s:Organization
s:legalName: "Cincinnati Children's Hospital Medical Center"
s:location:
- class: s:PostalAddress
s:addressCountry: "USA"
s:addressLocality: "Cincinnati"
s:addressRegion: "OH"

```

## Full Traceback
```pytb
Field `$schemas` contains undefined reference to `http://schema.org/docs/schema_org_rdfa.html`
../../../../usr/local/lib/python3.6/site-packages/biowardrobe_cwl_workflows/workflows/bowtie-index.cwl:81:5: checking item
../../../../usr/local/lib/python3.6/site-packages/biowardrobe_cwl_workflows/workflows/bowtie-index.cwl:81:5: Field `class` contains undefined reference to `http://schema.org/PostalAddress`
WARNI [salad] ../../../../usr/local/lib/python3.6/site-packages/biowardrobe_cwl_workflows/workflows/bowtie-index.cwl:81:5: checking item
../../../../usr/local/lib/python3.6/site-packages/biowardrobe_cwl_workflows/workflows/bowtie-index.cwl:81:5: Field `class` contains undefined reference to `http://schema.org/PostalAddress`
```

## Your Environment
* cwltool version: 1.0.20180912090223

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.