From 011a45ccccfb410a10aac0a4bfb4b683167195f4 Mon Sep 17 00:00:00 2001 From: chausman <chausman@nrao.edu> Date: Tue, 5 Sep 2023 10:37:56 -0600 Subject: [PATCH] fix sdm only to include .bin files --- .../pexable/productfetcher/productfetcher/locations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/cli/executables/pexable/productfetcher/productfetcher/locations.py b/apps/cli/executables/pexable/productfetcher/productfetcher/locations.py index 79b511abb..4371e2279 100644 --- a/apps/cli/executables/pexable/productfetcher/productfetcher/locations.py +++ b/apps/cli/executables/pexable/productfetcher/productfetcher/locations.py @@ -208,7 +208,8 @@ class NgasFile(LocatedFile): @property def is_sdm(self) -> bool: - return self.ngas_file_id.endswith(".sdm") + # SDM files can end with .sdm or .bin. Include both + return self.ngas_file_id.endswith(".sdm") or self.ngas_file_id.endswith(".bin") @property def is_image_ancillary(self) -> bool: -- GitLab