Skip to content
Snippets Groups Projects

integrate curator with envoy for workflow

Merged Charlotte Hausman requested to merge curator-integration into 2.8.2.1-DEVELOMENT
1 unresolved thread
1 file
+ 9
6
Compare changes
  • Side-by-side
  • Inline
@@ -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