-
Notifications
You must be signed in to change notification settings - Fork 535
Added Computational Workflow metadata and related documentation #8812
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
Merged
kcondon
merged 4 commits into
IQSS:develop
from
abujeda:8639-computational-workflow-metadata
Jul 29, 2022
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f6b2c17
Added Computational Workflow metadata and related documentation
abujeda 9ac011a
Updated computation workflow fields to more specific names
abujeda 4a187e2
make comp workflow block experimental #8639
pdurbin b1bb1d3
Moved "see .tsv version" link
jggautier 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 hidden or 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 hidden or 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,6 @@ | ||
| ## Adding Computational Workflow Metadata | ||
| The new Computational Workflow metadata block will allow depositors to effectively tag datasets as computational workflows. | ||
|
|
||
| To add the new metadata block, follow the instructions in the user guide: <https://guides.dataverse.org/en/latest/admin/metadatacustomization.html> | ||
|
|
||
| The location of the new metadata block tsv file is: `dataverse/scripts/api/data/metadatablocks/computational_workflow.tsv` | ||
This file contains hidden or 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 hidden or 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
Binary file modified
BIN
-38.1 KB
(54%)
doc/sphinx-guides/source/user/img/DatasetDiagram.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+66.3 KB
doc/sphinx-guides/source/user/img/computational-workflow-metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
scripts/api/data/metadatablocks/computational_workflow.tsv
This file contains hidden or 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,21 @@ | ||
| #metadataBlock name dataverseAlias displayName | ||
| computationalworkflow Computational Workflow Metadata | ||
| #datasetField name title description watermark fieldType displayOrder displayFormat advancedSearchField allowControlledVocabulary allowmultiples facetable displayoncreate required parent metadatablock_id termURI | ||
| workflowType Computational Workflow Type The kind of Computational Workflow, which is designed to compose and execute a series of computational or data manipulation steps in a scientific application text 0 TRUE TRUE TRUE TRUE TRUE FALSE computationalworkflow | ||
| workflowCodeRepository External Code Repository URL A link to the repository where the un-compiled, human readable code and related code is located (e.g. GitHub, GitLab, SVN) https://... url 1 FALSE FALSE TRUE FALSE TRUE FALSE computationalworkflow | ||
| workflowDocumentation Documentation A link (URL) to the documentation or text describing the Computational Workflow and its use textbox 2 FALSE FALSE TRUE FALSE TRUE FALSE computationalworkflow | ||
| #controlledVocabulary DatasetField Value identifier displayOrder | ||
| workflowType Common Workflow Language (CWL) workflowtype_cwl 1 | ||
| workflowType Workflow Description Language (WDL) workflowtype_wdl 2 | ||
| workflowType Nextflow workflowtype_nextflow 3 | ||
| workflowType Snakemake workflowtype_snakemake 4 | ||
| workflowType Ruffus workflowtype_ruffus 5 | ||
| workflowType DAGMan workflowtype_dagman 6 | ||
| workflowType Jupyter Notebook workflowtype_jupyter 7 | ||
| workflowType R Notebook workflowtype_rstudio 8 | ||
| workflowType MATLAB Script workflowtype_matlab 9 | ||
| workflowType Bash Script workflowtype_bash 10 | ||
| workflowType Makefile workflowtype_makefile 11 | ||
| workflowType Other Python-based workflow workflowtype_otherpython 12 | ||
| workflowType Other R-based workflow workflowtype_otherrbased 13 | ||
| workflowType Other workflowtype_other 100 |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
suggestion: May I request we declare this an experimental thing as usually done with new things like these?
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.
I am not sure it should be. Is this something you can make a decision on @jggautier?
Or @scolapasta / @pdurbin , should this feature be labeled as experimental?
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.
@poikilotherm, the effect of labelling this experimental would be to let installations know that it's likely that it will change (more likely than other changes in the update) as more work is done to support the publication of workflows and software. Is that the reasoning?
Since this is considered an MVP, I agree, and the group that worked on this metadatablock share the same concerns you raise in your comments in this PR (and in your talks during the Dataverse Community Meeting). I would confirm with Mahmood that this be labelled as experimental. Does anyone know Mahmood's GitHub username?
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.
It seems to be @mmshad.
As @scolapasta and @jggautier know, we just talked about this at standup. That is, should this feature be enabled for all new installations or not? We're going to talk about this a bit more during our sprint planning meeting in a few hours.
As Gustavo pointed out, for embargo (which isn't on by default) we turned it on for the demo server to play around with it. (I'm not even sure if embargo is enabled in Harvard Dataverse or not.) So we could try this... enable the workflow block on the demo server first.
If we do flag the workflow block as experimental and not enabled by default we should probably remove it from the appendix of the User Guide or at least have a note saying that your admin need to manually enable it.
@mmshad if you happen to know any Harvard Dataverse users that would like to try out this workflow block, please let us know.
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.
@pdurbin , I can ask a few labs to start uploading their workflow. My team can use it as well.