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
f5e8011b
Commit
f5e8011b
authored
7 months ago
by
Mick Veldhuis
Browse files
Options
Downloads
Plain Diff
Merge branch 'add-pipeline-log' into 'main'
RAP-876
Add pipeline log See merge request
!7
parents
f8d2dfbe
498875cc
No related branches found
No related tags found
1 merge request
!7
RAP-876 Add pipeline log
Pipeline
#100529
passed
7 months ago
Stage: prepare
Stage: test
Pipeline: preprocessing-cwl
#100530
Changes
4
Pipelines
1
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 @
f5e8011b
...
...
@@ -6,3 +6,6 @@ venv/
# Data
*.ms
*.MS
# IDEs
.vscode/
This diff is collapsed.
Click to expand it.
steps/concatenate_files.cwl
0 → 100644
+
35
−
0
View file @
f5e8011b
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 @
f5e8011b
...
...
@@ -187,6 +187,13 @@ outputs:
outputBinding:
glob: '$(inputs.msout_name == "." ? inputs.msin.basename : inputs.msout_name)'
doc: Output MS
- id: logfiles
type: File[]
outputBinding:
glob: '*.log'
stdout: $(inputs.msin.basename)_preprocess.log
stderr: $(inputs.msin.basename)_preprocess_err.log
requirements:
InlineJavascriptRequirement: {}
This diff is collapsed.
Click to expand it.
workflows/pipeline.cwl
+
19
−
1
View file @
f5e8011b
...
...
@@ -100,6 +100,11 @@ outputs:
outputSource:
- preprocess/msout
doc: List of pre-processed LOFAR MSs
- id: logfiles
type: File
outputSource:
- concat_logfiles/output
doc: Concatenated log files
steps:
- id: preprocess
...
...
@@ -159,9 +164,22 @@ steps:
source: dp3_checkparset
- id: 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:
- class: InlineJavascriptRequirement
- class: ScatterFeatureRequirement
- 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