From 76cfbc565cb1b3cf5ffe2ad6954ef3d1df11f3e7 Mon Sep 17 00:00:00 2001 From: Bryan Hilbert Date: Fri, 16 Aug 2024 11:17:17 -0400 Subject: [PATCH] More PEP8 fixes --- jwql/jwql_monitors/monitor_filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwql/jwql_monitors/monitor_filesystem.py b/jwql/jwql_monitors/monitor_filesystem.py index a78711e5d..764b6db1b 100755 --- a/jwql/jwql_monitors/monitor_filesystem.py +++ b/jwql/jwql_monitors/monitor_filesystem.py @@ -95,7 +95,7 @@ def files_per_filter(): for fname in FILTERS_PER_INSTRUMENT[instrument]: # note that this does not include pupil wheel-based filters obs = Observations.query_criteria(filters=fname, instrument_name=JWST_INSTRUMENT_NAMES_MIXEDCASE[instrument]) batch_size = 5 - batches = [obs[i : i + batch_size] for i in range(0, len(obs), batch_size)] + batches = [obs[i:i + batch_size] for i in range(0, len(obs), batch_size)] obs_table = [Observations.get_product_list(batch) for batch in batches] products = unique(vstack(obs_table), keys='productFilename')