Skip to content
Snippets Groups Projects

Disable NGAS ingest via a capo setting

Merged Daniel Nemergut requested to merge disable_ngas_ingest into main
1 unresolved thread
Files
2
@@ -88,11 +88,8 @@ class IngestionManifest(ManifestComponentIF):
self.output_group = output_group
self.telescope = telescope
# Check if NGAS ingestion should be disabled for all manifests in this environment
try:
self.ngas_ingest = not CapoConfig().getboolean("archive-ingestion.skipNGAS")
except (KeyError, ValueError):
self.ngas_ingest = True
# Check if NGAS ingestion should be enabled for all manifests in this environment
self.ngas_ingest = CapoConfig().getboolean("archive-ingestion.ingestNGAS")
self.parameters = self.build_ingest_parameters(additional_metadata)
self.files_found = [file for file in self.staging_source_dir.iterdir()]
Loading