diff --git a/podaac/swodlr_raster_create/preflight.py b/podaac/swodlr_raster_create/preflight.py index 2acbacd..1d3c90f 100644 --- a/podaac/swodlr_raster_create/preflight.py +++ b/podaac/swodlr_raster_create/preflight.py @@ -125,8 +125,8 @@ def _find_cmr_granules(cycle, passe, scene) -> tuple[Granule, Granule]: }, 'orbitParams': { - 'collectionConceptId': XDF_ORBIT_1_0_CONCEPT_ID if passe >= 400 \ - else XDF_ORBIT_2_0_CONCEPT_ID, + 'collectionConceptId': XDF_ORBIT_1_0_CONCEPT_ID if passe >= 400 + else XDF_ORBIT_2_0_CONCEPT_ID, 'sortKey': '-end_date', 'limit': 1 } diff --git a/tests/test_preflight.py b/tests/test_preflight.py index cff152c..aab76fe 100644 --- a/tests/test_preflight.py +++ b/tests/test_preflight.py @@ -183,7 +183,7 @@ def test_no_action(self): 'limit': 100 }, 'orbitParams': { - 'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', + 'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', # pylint: disable=line-too-long # noqa: E501 'sortKey': '-end_date', 'limit': 1 } @@ -349,7 +349,7 @@ def test_clear_sds(self): 'limit': 100 }, 'orbitParams': { - 'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', + 'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', # pylint: disable=line-too-long # noqa: E501 'sortKey': '-end_date', 'limit': 1 } @@ -516,7 +516,7 @@ def test_ingest_new(self): 'limit': 100 }, 'orbitParams': { - 'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', + 'collectionConceptId': 'test-xdf-orbit-2.0-concept-id', # pylint: disable=line-too-long # noqa: E501 'sortKey': '-end_date', 'limit': 1 }