Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Alexander Kutkin
apipeline
Commits
988c3399
Commit
988c3399
authored
3 years ago
by
Alexander Kutkin
Browse files
Options
Downloads
Patches
Plain Diff
save wsclean repo in the container
parent
4fded460
Branches
improve-docs
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#28735
passed
3 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-0
1 addition, 0 deletions
Dockerfile
imcal.py
+1
-1
1 addition, 1 deletion
imcal.py
with
2 additions
and
1 deletion
Dockerfile
+
1
−
0
View file @
988c3399
...
@@ -185,6 +185,7 @@ FROM ubuntu:20.04 as runner
...
@@ -185,6 +185,7 @@ FROM ubuntu:20.04 as runner
RUN
mkdir
/src
RUN
mkdir
/src
COPY
--from=builder /usr/local /usr/local
COPY
--from=builder /usr/local /usr/local
RUN
chmod
+rx /usr/local/bin/
*
RUN
chmod
+rx /usr/local/bin/
*
COPY
--from=builder /src/wsclean /opt/
SHELL
["/bin/bash", "-c"]
SHELL
["/bin/bash", "-c"]
...
...
This diff is collapsed.
Click to expand it.
imcal.py
+
1
−
1
View file @
988c3399
...
@@ -540,7 +540,7 @@ def main(msin, steps='all', outbase=None, cfgfile='imcal.yml', force=False):
...
@@ -540,7 +540,7 @@ def main(msin, steps='all', outbase=None, cfgfile='imcal.yml', force=False):
logging
.
info
(
'
mask step: Image exists, use --f to overwrite...
'
)
logging
.
info
(
'
mask step: Image exists, use --f to overwrite...
'
)
else
:
else
:
threshold
=
img_max
/
cfg
[
'
clean0
'
][
'
max_over_thresh
'
]
threshold
=
img_max
/
cfg
[
'
clean0
'
][
'
max_over_thresh
'
]
threshold
=
max
(
threshold
,
0.001
)
threshold
=
max
(
threshold
,
0.00
0
1
)
wsclean
(
dical0
,
outname
=
img0
,
automask
=
None
,
save_source_list
=
False
,
multifreq
=
False
,
mgain
=
None
,
wsclean
(
dical0
,
outname
=
img0
,
automask
=
None
,
save_source_list
=
False
,
multifreq
=
False
,
mgain
=
None
,
kwstring
=
f
'
-threshold
{
threshold
}
'
)
kwstring
=
f
'
-threshold
{
threshold
}
'
)
create_mask
(
img0
+
'
-image.fits
'
,
img0
+
'
-residual.fits
'
,
clipval
=
10
,
outname
=
mask0
,
)
create_mask
(
img0
+
'
-image.fits
'
,
img0
+
'
-residual.fits
'
,
clipval
=
10
,
outname
=
mask0
,
)
...
...
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