Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LINC
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
Container registry
Model registry
Operate
Environments
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
LINC
Commits
52665846
Commit
52665846
authored
1 year ago
by
alex
Browse files
Options
Downloads
Patches
Plain Diff
fix predict step in LBA_target
parent
d06368a5
No related branches found
No related tags found
1 merge request
!179
Fix predict step in LBA_target
Pipeline
#65722
passed
1 year ago
Stage: versioning
Stage: build
Stage: tests
Stage: docs
Stage: deploy
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
steps/wsclean.cwl
+8
-1
8 additions, 1 deletion
steps/wsclean.cwl
workflows/linc_target/imaging_subtract.cwl
+25
-3
25 additions, 3 deletions
workflows/linc_target/imaging_subtract.cwl
with
33 additions
and
4 deletions
steps/wsclean.cwl
+
8
−
1
View file @
52665846
...
...
@@ -265,7 +265,9 @@ inputs:
shellQuote: false
- id: image_name
default: 'pointing'
type: string?
type:
- string?
- File?
inputBinding:
position: 1
prefix: '-name'
...
...
@@ -284,6 +286,11 @@ inputs:
position: 1
prefix: '-predict'
shellQuote: false
- id: padding
type: float?
inputBinding:
position: 1
prefix: -padding
- id: baseline_averaging
default: false
type: float?
...
...
This diff is collapsed.
Click to expand it.
workflows/linc_target/imaging_subtract.cwl
+
25
−
3
View file @
52665846
...
...
@@ -233,7 +233,7 @@ steps:
- id: tempdir
source: wsclean_tmpdir
- id: do_predict
default:
tru
e
default:
fals
e
- id: reuse_dirty
source: make_mask_image/dirty_image
- id: reuse_psf
...
...
@@ -245,10 +245,30 @@ steps:
- id: logfile
run: ../../steps/wsclean.cwl
label: image_predict
- id: predict_wsclean
in:
- id: msin
source: make_mask_image/msout # workaround for CWL bug (https://github.com/common-workflow-language/cwltool/issues/1785)
- id: image_name
source: image_predict/image
- id: padding
default: 1.8
- id: channels-out
source: total_bandwidth
valueFrom: '$(Math.round(self/4.e6) > 0 ? Math.round(self/4.e6) : 1)'
- id: tempdir
source: wsclean_tmpdir
- id: do_predict
default: true
out:
- id: msout
- id: logfile
run: ../../steps/wsclean.cwl
label: predict_wsclean
- id: subtract_model
in:
- id: msin
source:
image_
predict/msout
source: predict
_wsclean
/msout
- id: command
default: "set CORRECTED_DATA = CORRECTED_DATA - MODEL_DATA"
out:
...
...
@@ -559,7 +579,6 @@ steps:
- make_mask_image/logfile
- make_mask/logfile
- blank_image_reg/logfile
- image_predict/logfile
linkMerge: merge_flattened
pickValue: all_non_null
- id: file_prefix
...
...
@@ -588,6 +607,8 @@ steps:
in:
- id: file_list
source:
- image_predict/logfile
- predict_wsclean/logfile
- merge_array_files/output
linkMerge: merge_flattened
- id: file_prefix
...
...
@@ -600,6 +621,7 @@ steps:
in:
- id: file_list
source:
- image_tmp/logfile
- make_beam_reg/logfile
- blank_image_reg_1/logfile
- blank_image_reg_2/logfile
...
...
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