Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
imaging_compress_pipeline
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
LDV
imaging_compress_pipeline
Merge requests
!3
Don't compress sun targets
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Don't compress sun targets
do_not_compress_sun_targets
into
master
Overview
21
Commits
10
Pipelines
0
Changes
4
Merged
Timo Millenaar
requested to merge
do_not_compress_sun_targets
into
master
1 year ago
Overview
21
Commits
10
Pipelines
0
Changes
4
Depends on
ldv-images!1 (merged)
and
lofar_quality!8 (merged)
Edited
1 year ago
by
Timo Millenaar
0
0
Merge request reports
Compare
master
version 9
364cd19c
1 year ago
version 8
1ab798c1
1 year ago
version 7
9772f438
1 year ago
version 6
df7c65ec
1 year ago
version 5
b9ffbcd5
1 year ago
version 4
c51e7f19
1 year ago
version 3
51053ad3
1 year ago
version 2
a5304a02
1 year ago
version 1
aebc539d
1 year ago
master (base)
and
latest version
latest version
69418761
10 commits,
1 year ago
version 9
364cd19c
9 commits,
1 year ago
version 8
1ab798c1
8 commits,
1 year ago
version 7
9772f438
7 commits,
1 year ago
version 6
df7c65ec
6 commits,
1 year ago
version 5
b9ffbcd5
5 commits,
1 year ago
version 4
c51e7f19
4 commits,
1 year ago
version 3
51053ad3
3 commits,
1 year ago
version 2
a5304a02
2 commits,
1 year ago
version 1
aebc539d
1 commit,
1 year ago
4 files
+
66
−
12
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
steps/format_metrics.cwl
+
30
−
8
View file @ 69418761
Edit in single-file editor
Open in Web IDE
Show full file
@@ -11,6 +11,10 @@ inputs:
@@ -11,6 +11,10 @@ inputs:
type: File[]
type: File[]
- id: quality
- id: quality
type: Any
type: Any
- id: msin
type: Directory[]
- id: keep_input
type: boolean[]
- id: applied_fixes
- id: applied_fixes
type:
type:
type: array
type: array
@@ -27,15 +31,33 @@ inputs:
@@ -27,15 +31,33 @@ inputs:
outputs:
outputs:
- id: formatted_quality
- id: formatted_quality
type: Any
type: Any
- id: control
type: Any
expression: |
expression: |
${
${
var result = {
var quality = {
'plots': inputs.plots,
'plots': inputs.plots,
'summary': inputs.quality
'summary': inputs.quality
};
quality['summary']['applied_fixes'] = inputs.applied_fixes[0];
quality['summary']['unfixable_issues'] = inputs.unfixable_issues[0];
var control = {
'keep_input': inputs.msin.map((file, index) => {
if (inputs.keep_input[index]) {
return {
surl: file.location
};
}
return null;
}).filter(item => item !== null)
};
return {
'formatted_quality': quality,
'control': control
};
};
result['summary']['applied_fixes'] = inputs.applied_fixes[0]
}
result['summary']['unfixable_issues'] = inputs.unfixable_issues[0]
return {'formatted_quality': result}
}
Loading