From ea4ae52c2a4a1b80fb3834972455f2eb22dd0d0b Mon Sep 17 00:00:00 2001 From: Bradley Sappington Date: Wed, 8 Nov 2023 12:33:34 -0500 Subject: [PATCH] more pep8 --- jwql/utils/constants.py | 14 +++++++------- jwql/website/apps/jwql/data_containers.py | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/jwql/utils/constants.py b/jwql/utils/constants.py index 39db77e92..499921019 100644 --- a/jwql/utils/constants.py +++ b/jwql/utils/constants.py @@ -999,13 +999,13 @@ class QueryConfigKeys: # Concatenate all suffix types (ordered to ensure successful matching) FILE_SUFFIX_TYPES = ( - GUIDER_SUFFIX_TYPES - + GENERIC_SUFFIX_TYPES - + TIME_SERIES_SUFFIX_TYPES - + NIRCAM_CORONAGRAPHY_SUFFIX_TYPES - + NIRISS_AMI_SUFFIX_TYPES - + WFSC_SUFFIX_TYPES - + MSA_SUFFIX + GUIDER_SUFFIX_TYPES + + GENERIC_SUFFIX_TYPES + + TIME_SERIES_SUFFIX_TYPES + + NIRCAM_CORONAGRAPHY_SUFFIX_TYPES + + NIRISS_AMI_SUFFIX_TYPES + + WFSC_SUFFIX_TYPES + + MSA_SUFFIX ) # Instrument Documentation Links diff --git a/jwql/website/apps/jwql/data_containers.py b/jwql/website/apps/jwql/data_containers.py index 170390673..5f8033e04 100644 --- a/jwql/website/apps/jwql/data_containers.py +++ b/jwql/website/apps/jwql/data_containers.py @@ -406,10 +406,10 @@ def get_available_suffixes(all_suffixes, return_untracked=True): untracked_suffixes = set(all_suffixes) for poss_suffix in EXPOSURE_PAGE_SUFFIX_ORDER: if 'crf' not in poss_suffix: - if (poss_suffix in all_suffixes and - poss_suffix not in suffixes): - suffixes.append(poss_suffix) - untracked_suffixes.remove(poss_suffix) + if (poss_suffix in all_suffixes + and poss_suffix not in suffixes): + suffixes.append(poss_suffix) + untracked_suffixes.remove(poss_suffix) else: # EXPOSURE_PAGE_SUFFIX_ORDER contains crf and crfints, # but the actual suffixes in the data will be e.g. o001_crf,