Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 5, 2024
1 parent bccf7b0 commit ed01e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feedstock/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ async def get_recipe_inputs():
pattern = pattern_from_file_sequence(urls, concat_dim="time")

# to accomodate single file we cannot parse target chunks (https://github.com/pangeo-forge/pangeo-forge-recipes/issues/275)
if len(urls)>1:
if len(urls) > 1:
chunk_fn = dynamic_chunking_func
else:
chunk_fn = None

recipes[iid] = (
f"Creating {iid}" >> beam.Create(pattern.items())
# | CheckpointFileTransfer(
Expand Down

0 comments on commit ed01e98

Please sign in to comment.