-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/SPARC-FAIR-Codeathon/2024-t…
- Loading branch information
Showing
22 changed files
with
1,511 additions
and
42 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
tutorials/tutorial_1_annotate_tools-workflow/example_create_sds.py
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,13 @@ | ||
import sparc_flow | ||
|
||
new_tool = sparc_flow.Tool() | ||
|
||
# name of your tool | ||
new_tool.set_tool_name("tool_extract_indep_var_sds_test") | ||
|
||
# directory of where your tool was saved | ||
new_tool.set_tool_dir(".") | ||
|
||
# creates sds dataset in the first file path argument, whilst duplicating the contents of the | ||
# second file path argument in dataset > primary > tools | ||
new_tool.create_sds("../resources/tutorial_1_resources/mock_dataset", ".") |
2 changes: 1 addition & 1 deletion
2
...tools-workflow/input_extract_dep_var.yaml → ...tools-workflow/input_extract_dep_var.yaml
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
xFile: | ||
class: File | ||
path: './outputs/time.txt' | ||
path: './resources/time.txt' | ||
outputFile: 'voltage.txt' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
tutorials/tutorial_1_annotate_tools-workflow/tool_extract_dep_var_sds.cwl
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,23 @@ | ||
cwlVersion: v1.2 | ||
class: CommandLineTool | ||
baseCommand: [python, ../tool_extract_dep_var_sds.py] | ||
inputs: | ||
x_file: | ||
type: File | ||
inputBinding: | ||
position: 1 | ||
<<<<<<< HEAD:tutorials/tutorial_1_annotate_tools-workflow/tool_extract_dep_var_sds.cwl | ||
prefix: --xFile | ||
outputFile: | ||
type: string | ||
inputBinding: | ||
position: 2 | ||
prefix: --outputFile | ||
======= | ||
prefix: --x_file | ||
|
||
>>>>>>> 628e10f00e2ef94ec25584c0dd9f96d542a1b0fd:tutorials/tutorial_5_assemble_workflow/resources/tools/tool_extract_dep_var_sds.cwl | ||
outputs: | ||
y_file: | ||
type: File | ||
|
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
File renamed without changes.
File renamed without changes.
1,468 changes: 1,468 additions & 0 deletions
1,468
tutorials/tutorial_1_annotate_tools-workflow/tutorial_1_annotating_tools_models.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 0 additions & 37 deletions
37
tutorials/tutorial_annotate_tools-workflow/tool_extract_dep_var_sds.cwl
This file was deleted.
Oops, something went wrong.