Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!1496
integrate curator with envoy for workflow
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
integrate curator with envoy for workflow
curator-integration
into
2.8.2.1-DEVELOMENT
Overview
2
Commits
5
Pipelines
5
Changes
1
1 unresolved thread
Hide all comments
Merged
Charlotte Hausman
requested to merge
curator-integration
into
2.8.2.1-DEVELOMENT
1 year ago
Overview
2
Commits
5
Pipelines
5
Changes
1
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
8878f00c
Prev
Next
Show latest version
1 file
+
9
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8878f00c
update ngas flag determination
· 8878f00c
Charlotte Hausman
authored
1 year ago
apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py
+
9
−
6
Options
@@ -105,12 +105,15 @@ class IngestionManifest(ManifestComponentIF):
def
get_ngas_flag
(
self
)
->
bool
:
"""
Determine and retrieve the correct ingestNGAS flag for this type of ingestion/curation
"""
# default to true for all types
flag
=
True
# TODO: Add properties for other types
if
self
.
sp_type
==
ScienceProductType
.
EXEC_BLOCK
:
if
self
.
telescope
==
Telescope
.
VLBA
or
self
.
telescope
==
Telescope
.
GMVA
:
flag
=
CapoConfig
().
getboolean
(
"
archive-ingestion.ingestNGAS
"
)
match
self
.
sp_type
:
case
ScienceProductType
.
EXEC_BLOCK
:
flag
=
CapoConfig
().
getboolean
(
"
archive-ingestion.ingestNGAS.observation
"
)
case
ScienceProductType
.
EVLA_CAL
:
flag
=
CapoConfig
().
getboolean
(
"
archive-ingestion.ingestNGAS.calibration
"
)
case
ScienceProductType
.
IMAGE
|
ScienceProductType
.
VLASS_SECI
:
flag
=
CapoConfig
().
getboolean
(
"
archive-ingestion.ingestNGAS.imaging
"
)
case
_
:
flag
=
True
return
flag
Loading