-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Implementation of store RDF export of the workflow in CWL Prov RO-Bundle #1709
Draft
jjkoehorst
wants to merge
55
commits into
common-workflow-language:main
Choose a base branch
from
jjkoehorst:cwlprov-cwl-rdf
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 2 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
d4851f6
Implementation of store RDF export of the workflow in CWL Prov RO-Bun…
jjkoehorst 00ce190
formatting changes according to make format
jjkoehorst 562d13c
formatting corrections
jjkoehorst e063735
remove need for type ignore
mr-c e0bb0e0
hard change to checksum_only
jjkoehorst 16335b7
Added sha checksum to file_entity, need to look into what predicate s…
jjkoehorst 59703ac
Merge branch 'cwlprov-cwl-rdf' of github.com:jjkoehorst/cwltool into …
jjkoehorst 40c6705
formatting cleanup
jjkoehorst 87c304b
--no-data argument added
jjkoehorst 049dcd7
added no_data variable to some functions as i was unable to access th…
jjkoehorst 21ecba9
test provenance --no-data added and a TODO check for check_bagit if w…
jjkoehorst 879d5ce
Global no-data option for now to test the same environment with or wi…
jjkoehorst 723c643
NO_DATA global variable added to know if there should be no data for …
jjkoehorst 540a5a8
formatting
jjkoehorst 211348a
cleaning logger and no_data access implementation
jjkoehorst bd61e43
Merge branch 'cwlprov-cwl-rdf'
jjkoehorst ad90be6
cleaning up imports
jjkoehorst 76abff0
make remove_unused_imports, cleaning up all kinds of imports
jjkoehorst 33d1551
some empty line formatting
jjkoehorst 81b48de
Merge branch 'main' into cwlprov-cwl-rdf
jjkoehorst bc56733
if not none instead of !=
jjkoehorst e5b498d
make cleanup sync
jjkoehorst 3666b65
docstrings added
jjkoehorst f58e90e
Default NO_DATA set to false
jjkoehorst 4a6906b
move NO_DATA to utils
jjkoehorst 08e18b0
remove global NO_DATA
mr-c 33f706b
missed two NO_DATA's
jjkoehorst 406ae69
Merge branch 'cwlprov-cwl-rdf' of github.com:jjkoehorst/cwltool into …
mr-c b288fb4
added return type str: to the checksum content processor
jjkoehorst cb28e1a
Merge branch 'cwlprov-cwl-rdf' of github.com:jjkoehorst/cwltool into …
mr-c 1dbcdad
fix type
mr-c ab71278
restore regular prov tests
mr-c 112f4f0
Duplicated a test case and the cwltool function to allow for --no-dat…
jjkoehorst cd0a4af
formatting
jjkoehorst 50dac83
nolisting workflow and test added
jjkoehorst d3048af
with copy files but excluding a specific folder test
jjkoehorst ac532d4
working on load listing recognition for files and provenance
jjkoehorst fb5a65a
expanded the test case, server testing showed a loadListing option no…
jjkoehorst 373b600
issue with load listing field
jjkoehorst eb93204
unused import removal
jjkoehorst a4b26af
show file name with debugger
jjkoehorst 95c2c63
from_fp does not always carry name
jjkoehorst 401918e
testing to print stacktrace to identify path to print file
jjkoehorst 6fe74f3
check listing value
jjkoehorst 7f370bb
change default to invalid_listing
jjkoehorst 26fec21
debugging in progress
jjkoehorst d01a0df
trace in debug
jjkoehorst c15156b
stack trace only at debug level
jjkoehorst 315e78f
stacktrace disabled
jjkoehorst 8158340
Merge branch 'main' into cwlprov-cwl-rdf
jjkoehorst cad4896
formatting
jjkoehorst b930842
sort imports
jjkoehorst aa0054e
No warnings test
jjkoehorst 87946a3
missed one attribute
jjkoehorst 420dd1c
work in progress to fix the main merge
jjkoehorst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#!/usr/bin/env cwl-runner | ||
cwlVersion: v1.2 | ||
class: Workflow | ||
|
||
doc: > | ||
Inspect provided directory and return filenames. | ||
Generate a new directory and return it (including content). | ||
|
||
hints: | ||
- class: DockerRequirement | ||
dockerPull: docker.io/debian:stable-slim | ||
|
||
inputs: | ||
dir: | ||
type: Directory | ||
ignore: | ||
type: Directory | ||
loadListing: no_listing | ||
|
||
steps: | ||
ls: | ||
in: | ||
dir: dir | ||
ignore: ignore | ||
out: | ||
[listing] | ||
run: | ||
class: CommandLineTool | ||
baseCommand: ls | ||
inputs: | ||
dir: | ||
type: Directory | ||
inputBinding: | ||
position: 1 | ||
ignore: | ||
type: Directory | ||
inputBinding: | ||
position: 2 | ||
outputs: | ||
listing: | ||
type: stdout | ||
|
||
generate: | ||
in: [] | ||
out: | ||
[dir1] | ||
run: | ||
class: CommandLineTool | ||
requirements: | ||
- class: ShellCommandRequirement | ||
arguments: | ||
- shellQuote: false | ||
valueFrom: > | ||
pwd; | ||
mkdir -p dir1/a/b; | ||
echo -n a > dir1/a.txt; | ||
echo -n b > dir1/a/b.txt; | ||
echo -n c > dir1/a/b/c.txt; | ||
inputs: [] | ||
outputs: | ||
dir1: | ||
type: Directory | ||
outputBinding: | ||
glob: "dir1" | ||
|
||
outputs: | ||
listing: | ||
type: File | ||
outputSource: ls/listing | ||
dir1: | ||
type: Directory | ||
outputSource: generate/dir1 | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--enable-ext
shouldn't be required when usingloadListing
with CWL v1.1+