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
7f259be1
Commit
7f259be1
authored
2 years ago
by
Alexander Drabent
Browse files
Options
Downloads
Patches
Plain Diff
deal with env variables
parent
cd1482da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!102
Deprecate makesourcedb (RAP-481)
Pipeline
#31343
failed
2 years ago
Stage: versioning
Stage: build
Stage: tests
Stage: docs
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/merge_skymodels.py
+2
-2
2 additions, 2 deletions
scripts/merge_skymodels.py
with
2 additions
and
2 deletions
scripts/merge_skymodels.py
+
2
−
2
View file @
7f259be1
...
...
@@ -3,7 +3,7 @@
Append a LOFAR skymodel to an existing one
"""
import
logging
import
os
,
logging
import
lsmtool
########################################################################
...
...
@@ -36,4 +36,4 @@ if __name__ == '__main__':
format_file
=
logging
.
Formatter
(
"
%(asctime)s %(levelname)s: %(message)s
"
,
"
%Y-%m-%d %H:%M:%S
"
)
logging
.
root
.
setLevel
(
logging
.
INFO
)
main
(
inmodel1
=
args
.
inmodel1
,
inmodel2
=
args
.
inmodel2
,
outmodel
=
args
.
outmodel
)
main
(
inmodel1
=
os
.
path
.
expandvars
(
args
.
inmodel1
)
,
inmodel2
=
os
.
path
.
expandvars
(
args
.
inmodel2
)
,
outmodel
=
os
.
path
.
expandvars
(
args
.
outmodel
)
)
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