From a3d885d13f607e3049de8f44a0a79c212a77a4a7 Mon Sep 17 00:00:00 2001 From: Daniel Nemergut <dnemergu@nrao.edu> Date: Wed, 11 Oct 2023 19:24:49 -0400 Subject: [PATCH] Requiring the capo property and changed the wording to avoid a double negative --- .../ingest_envoy/ingest_envoy/ingestion_manifest.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py index 26b1c7a21..eee79d0ea 100644 --- a/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py +++ b/apps/cli/executables/pexable/ingest_envoy/ingest_envoy/ingestion_manifest.py @@ -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()] -- GitLab