Skip to content

Commit 0812b3d

Browse files
authored
Merge branch 'master' into singularity23_fix
2 parents 16dc1cb + fec7a10 commit 0812b3d

File tree

504 files changed

+130106
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

504 files changed

+130106
-23
lines changed

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ include cwltool/schemas/v1.0/*.yml
1515
include cwltool/schemas/v1.0/*.md
1616
include cwltool/schemas/v1.0/salad/schema_salad/metaschema/*.yml
1717
include cwltool/schemas/v1.0/salad/schema_salad/metaschema/*.md
18+
include cwltool/schemas/v1.1/*.yml
19+
include cwltool/schemas/v1.1/*.md
20+
include cwltool/schemas/v1.1/salad/schema_salad/metaschema/*.yml
21+
include cwltool/schemas/v1.1/salad/schema_salad/metaschema/*.md
1822
include cwltool/schemas/v1.1.0-dev1/*.yml
1923
include cwltool/schemas/v1.1.0-dev1/*.md
2024
include cwltool/schemas/v1.1.0-dev1/salad/schema_salad/metaschema/*.yml

cwltool/builder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ def _capture_files(f):
313313
else:
314314
sf_required = True
315315

316+
316317
if "$(" in sf["pattern"] or "${" in sf["pattern"]:
317318
sfpath = self.do_eval(sf["pattern"], context=datum)
318319
else:

cwltool/executors.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ def execute(self,
8181
raise WorkflowException(
8282
"`cwl:requirements` in the input object is not part of CWL "
8383
"v1.0. You can adjust to use `cwltool:overrides` instead; or you "
84-
"can set the cwlVersion to v1.1.0-dev1 or greater and re-run with "
85-
"--enable-dev.")
84+
"can set the cwlVersion to v1.1")
8685
job_reqs = job_order_object["https://w3id.org/cwl/cwl#requirements"]
8786
elif ("cwl:defaults" in process.metadata
8887
and "https://w3id.org/cwl/cwl#requirements"
@@ -91,8 +90,7 @@ def execute(self,
9190
raise WorkflowException(
9291
"`cwl:requirements` in the input object is not part of CWL "
9392
"v1.0. You can adjust to use `cwltool:overrides` instead; or you "
94-
"can set the cwlVersion to v1.1.0-dev1 or greater and re-run with "
95-
"--enable-dev.")
93+
"can set the cwlVersion to v1.1")
9694
job_reqs = process.metadata["cwl:defaults"]["https://w3id.org/cwl/cwl#requirements"]
9795
if job_reqs is not None:
9896
for req in job_reqs:

cwltool/load_tool.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,11 @@ def resolve_and_validate_document(loadingContext,
259259
del jobobj["http://commonwl.org/cwltool#overrides"]
260260

261261
if isinstance(jobobj, CommentedMap) and "https://w3id.org/cwl/cwl#requirements" in jobobj:
262-
if cwlVersion not in ("v1.1.0-dev1",):
262+
if cwlVersion not in ("v1.1.0-dev1","v1.1"):
263263
raise ValidationException(
264264
"`cwl:requirements` in the input object is not part of CWL "
265265
"v1.0. You can adjust to use `cwltool:overrides` instead; or you "
266-
"can set the cwlVersion to v1.1.0-dev1 or greater and re-run with "
267-
"--enable-dev.")
266+
"can set the cwlVersion to v1.1 or greater.")
268267
loadingContext.overrides_list.append({"overrideTarget": uri,
269268
"requirements": jobobj["https://w3id.org/cwl/cwl#requirements"]})
270269
del jobobj["https://w3id.org/cwl/cwl#requirements"]

cwltool/schemas/v1.1/CITATION

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
To cite the Common Workflow Language standard in a publication, please use:
2+
3+
Amstutz, Peter; Crusoe, Michael R; Tijanić, Nebojša; Chapman, Brad;
4+
Chilton, John; Heuer, Michael; Kartashov, Andrey; Kern, John; Leehr, Dan;
5+
Ménager, Hervé; Nedeljkovich, Maya; Scales, Matt; Soiland-Reyes, Stian;
6+
Stojanovic, Luka (2016): Common Workflow Language, v1.0. Specification,
7+
Common Workflow Language working group. https://w3id.org/cwl/v1.0/
8+
https://doi.org/10.6084/m9.figshare.3115156.v2
9+
10+
@data{cwl,
11+
doi = {10.6084/m9.figshare.3115156.v2},
12+
url = {https://doi.org/10.6084/m9.figshare.3115156.v2},
13+
author = {Peter Amstutz; Michael R. Crusoe; Nebojša Tijanić; Brad Chapman;
14+
John Chilton; Michael Heuer; Andrey Kartashov; John Kern; Dan Leehr;
15+
Hervé Ménager; Maya Nedeljkovich; Matt Scales; Stian Soiland-Reyes;
16+
Luka Stojanovic
17+
},
18+
publisher = {Figshare},
19+
institution = {Common Workflow Language working group},
20+
title = {Common Workflow Language, v1.0},
21+
year = {2016}
22+
}
23+
24+
# Are you editing this file?
25+
# Synchronize any changes made with
26+
# README.md
27+
# and
28+
# https://github.com/common-workflow-language/user_guide/blob/gh-pages/CITATION
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
CWL Code of Conduct
2+
===================
3+
4+
The CWL Project is dedicated to providing a harassment-free experience for
5+
everyone. We do not tolerate harassment of participants in any form.
6+
7+
This code of conduct applies to all CWL Project spaces both online and off: the
8+
Google Group, the Gitter chat room, the Google Hangouts chats, and any other
9+
CWL spaces. Anyone who violates this code of conduct may be sanctioned or
10+
expelled from these spaces at the discretion of the CWL Leadership Team.
11+
12+
Some CWL Project spaces may have additional rules in place, which will be
13+
made clearly available to participants. Participants are responsible for
14+
knowing and abiding by these rules.
15+
16+
Harassment includes, but is not limited to:
17+
18+
- Offensive comments related to gender, gender identity and expression, sexual
19+
orientation, disability, mental illness, neuro(a)typicality, physical
20+
appearance, body size, age, race, or religion.
21+
- Unwelcome comments regarding a person’s lifestyle choices and practices,
22+
including those related to food, health, parenting, drugs, and employment.
23+
- Deliberate misgendering or use of [dead](https://www.quora.com/What-is-deadnaming/answer/Nancy-C-Walker)
24+
or rejected names.
25+
- Gratuitous or off-topic sexual images or behaviour in spaces where they’re not
26+
appropriate.
27+
- Physical contact and simulated physical contact (eg, textual descriptions like
28+
\*hug\*” or “\*backrub\*”) without consent or after a request to stop.
29+
- Threats of violence.
30+
- Incitement of violence towards any individual, including encouraging a person
31+
to commit suicide or to engage in self-harm.
32+
- Deliberate intimidation.
33+
- Stalking or following.
34+
- Harassing photography or recording, including logging online activity for
35+
harassment purposes.
36+
- Sustained disruption of discussion.
37+
- Unwelcome sexual attention.
38+
- Pattern of inappropriate social contact, such as requesting/assuming
39+
inappropriate levels of intimacy with others
40+
- Continued one-on-one communication after requests to cease.
41+
- Deliberate “outing” of any aspect of a person’s identity without their consent
42+
except as necessary to protect vulnerable people from intentional abuse.
43+
- Publication of non-harassing private communication.
44+
45+
The CWL Project prioritizes marginalized people’s safety over privileged
46+
people’s comfort. The CWL Leadeship Team will not act on complaints regarding:
47+
48+
- ‘Reverse’ -isms, including ‘reverse racism,’ ‘reverse sexism,’ and ‘cisphobia’
49+
- Reasonable communication of boundaries, such as “leave me alone,” “go away,” or
50+
“I’m not discussing this with you.”
51+
- Communicating in a [tone](http://geekfeminism.wikia.com/wiki/Tone_argument)
52+
you don’t find congenial
53+
54+
Reporting
55+
---------
56+
57+
If you are being harassed by a member of the CWL Project, notice that someone
58+
else is being harassed, or have any other concerns, please contact the CWL
59+
Leadership Team at [email protected]. If person who is harassing
60+
you is on the team, they will recuse themselves from handling your incident. We
61+
will respond as promptly as we can.
62+
63+
This code of conduct applies to CWL Project spaces, but if you are being
64+
harassed by a member of CWL Project outside our spaces, we still want to
65+
know about it. We will take all good-faith reports of harassment by CWL Project
66+
members, especially the CWL Leadership Team, seriously. This includes harassment
67+
outside our spaces and harassment that took place at any point in time. The
68+
abuse team reserves the right to exclude people from the CWL Project based on
69+
their past behavior, including behavior outside CWL Project spaces and
70+
behavior towards people who are not in the CWL Project.
71+
72+
In order to protect volunteers from abuse and burnout, we reserve the right to
73+
reject any report we believe to have been made in bad faith. Reports intended
74+
to silence legitimate criticism may be deleted without response.
75+
76+
We will respect confidentiality requests for the purpose of protecting victims
77+
of abuse. At our discretion, we may publicly name a person about whom we’ve
78+
received harassment complaints, or privately warn third parties about them, if
79+
we believe that doing so will increase the safety of CWL Project members or
80+
the general public. We will not name harassment victims without their
81+
affirmative consent.
82+
83+
Consequences
84+
------------
85+
86+
Participants asked to stop any harassing behavior are expected to comply
87+
immediately.
88+
89+
If a participant engages in harassing behavior, the CWL Leadership Team may
90+
take any action they deem appropriate, up to and including expulsion from all
91+
CWL Project spaces and identification of the participant as a harasser to other
92+
CWL Project members or the general public.
93+
94+
This anti-harassment policy is based on the [example policy from the Geek
95+
Feminism wiki](http://geekfeminism.wikia.com/wiki/Community_anti-harassment/Policy),
96+
created by the Geek Feminism community.
97+
98+
CWL Leadership Team
99+
-------------------
100+
101+
As a stop gap measure until a more formal governance structure is adopted, the
102+
following individuals make up the leadership of the CWL Project: Peter Amstutz,
103+
John Chilton, Michael R. Crusoe, and Nebojša Tijanić.
104+
105+
To report an issue with anyone on the team you can escalate to Ward Vandewege
106+
(Curoverse) [email protected], Anton Nekrutenko (Galaxy)
107+
anton AT bx DOT psu DOT edu, C. Titus Brown (UC Davis) [email protected], or
108+
Brandi Davis-Dusenbery (Seven Bridges Genomics) [email protected].
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Common workflow language conformance test suite
2+
3+
The conformance tests are intended to test feature coverage of a CWL
4+
implementation. It uses the module "cwltool.cwltest" from the cwltool
5+
reference implementation.
6+
7+
## Usage
8+
9+
```
10+
$ ./run_test.sh
11+
--- Running conformance test draft-3 on cwl-runner ---
12+
Test [49/49]
13+
All tests passed
14+
```
15+
16+
17+
## Options
18+
19+
RUNNER=other-cwl-runner
20+
21+
The CWL implementation to be tested.
22+
23+
-nN
24+
25+
Run a single specific test number N.
26+
27+
For example, to run conformance test 15 against the "cwltool"
28+
reference implementation:
29+
30+
```
31+
$ ./run_test.sh RUNNER=cwltool -n15
32+
Test [15/49]
33+
All tests passed
34+
```
35+
36+
## Notes
37+
38+
_NOTE_: For running on OSX systems, you'll need to install coreutils via brew. This will add to your
39+
system some needed GNU-like tools like `greadlink`.
40+
41+
1. If you haven't already, install [brew](http://brew.sh/) package manager in your mac
42+
2. Run `brew install coreutils`
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- $import: Process.yml
2+
- $import: CommandLineTool.yml

0 commit comments

Comments
 (0)