Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
preprocessing-cwl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
preprocessing-cwl
Commits
498875cc
Commit
498875cc
authored
7 months ago
by
Mick Veldhuis
Browse files
Options
Downloads
Patches
Plain Diff
RAP-876
Add pipeline log
parent
f8d2dfbe
Branches
Branches containing commit
No related tags found
1 merge request
!7
RAP-876 Add pipeline log
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
steps/concatenate_files.cwl
+35
-0
35 additions, 0 deletions
steps/concatenate_files.cwl
steps/preprocess.cwl
+7
-0
7 additions, 0 deletions
steps/preprocess.cwl
workflows/pipeline.cwl
+19
-1
19 additions, 1 deletion
workflows/pipeline.cwl
with
64 additions
and
1 deletion
.gitignore
+
3
−
0
View file @
498875cc
...
@@ -6,3 +6,6 @@ venv/
...
@@ -6,3 +6,6 @@ venv/
# Data
# Data
*.ms
*.ms
*.MS
*.MS
# IDEs
.vscode/
This diff is collapsed.
Click to expand it.
steps/concatenate_files.cwl
0 → 100644
+
35
−
0
View file @
498875cc
class: CommandLineTool
cwlVersion: v1.2
baseCommand:
- sh
- concatenate.sh
label: Concatenates a list of files
doc: |
This tool creates a file that contains the concatenated
content of the inputs files
inputs:
- id: files
type: File[]
inputBinding:
position: 0
- id: output_filename
type: string
outputs:
- id: output
type: File
outputBinding:
glob: "$(inputs.output_filename)"
requirements:
- class: InlineJavascriptRequirement
- class: InitialWorkDirRequirement
listing:
- entryname: concatenate.sh
writable: false
entry: |
set -e
files=("\${@}")
filename=$(inputs.output_filename)
cat "\${files[@]}" > $filename
This diff is collapsed.
Click to expand it.
steps/preprocess.cwl
+
7
−
0
View file @
498875cc
...
@@ -187,6 +187,13 @@ outputs:
...
@@ -187,6 +187,13 @@ outputs:
outputBinding:
outputBinding:
glob: '$(inputs.msout_name == "." ? inputs.msin.basename : inputs.msout_name)'
glob: '$(inputs.msout_name == "." ? inputs.msin.basename : inputs.msout_name)'
doc: Output MS
doc: Output MS
- id: logfiles
type: File[]
outputBinding:
glob: '*.log'
stdout: $(inputs.msin.basename)_preprocess.log
stderr: $(inputs.msin.basename)_preprocess_err.log
requirements:
requirements:
InlineJavascriptRequirement: {}
InlineJavascriptRequirement: {}
This diff is collapsed.
Click to expand it.
workflows/pipeline.cwl
+
19
−
1
View file @
498875cc
...
@@ -100,6 +100,11 @@ outputs:
...
@@ -100,6 +100,11 @@ outputs:
outputSource:
outputSource:
- preprocess/msout
- preprocess/msout
doc: List of pre-processed LOFAR MSs
doc: List of pre-processed LOFAR MSs
- id: logfiles
type: File
outputSource:
- concat_logfiles/output
doc: Concatenated log files
steps:
steps:
- id: preprocess
- id: preprocess
...
@@ -159,9 +164,22 @@ steps:
...
@@ -159,9 +164,22 @@ steps:
source: dp3_checkparset
source: dp3_checkparset
- id: dp3_numthreads
- id: dp3_numthreads
source: dp3_numthreads
source: dp3_numthreads
out: [msout]
out: [msout, logfiles]
- id: concat_logfiles
label: Combine DP3 log files
doc: |
Concatenate logs produced by DP3 into pipeline.log
run: ../steps/concatenate_files.cwl
in:
- id: files
source: preprocess/logfiles
valueFrom: $(self.flat())
- id: output_filename
default: pipeline.log
out: [output]
requirements:
requirements:
- class: InlineJavascriptRequirement
- class: InlineJavascriptRequirement
- class: ScatterFeatureRequirement
- class: ScatterFeatureRequirement
- class: StepInputExpressionRequirement
- class: StepInputExpressionRequirement
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment