Skip to content

Commit

Permalink
More PEP8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Aug 16, 2024
1 parent 5232cfb commit 76cfbc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwql/jwql_monitors/monitor_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 76cfbc5

Please sign in to comment.