Skip to content

Commit

Permalink
revert to old fix because fictitious tasks spawn with array[0:]
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrommyd committed Oct 24, 2024
1 parent 1e1c4a1 commit 2705b0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def main():
if args.print_necessary_columns:
import dask_awkward as dak

necessary_columns = dak.neccessary_columns(to_compute)
necessary_columns = dak.necessary_columns(to_compute)
logger.info(f"The necessary columns are:\n{necessary_columns}")
logger.info("Computing the task graph")
if client:
Expand Down
2 changes: 1 addition & 1 deletion src/egamma_tnp/utils/runner_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def save_array_to_parquet(array, output_dir, dataset, subdir, prefix=None, repar

# Trick to reduce node multiplicity before to_parquet until it's fixed.
# TODO: remove this when the issue is fixed
array = array[0:]
array = array[array.run > -999.0]

# Repartition the array if needed
if repartition_n:
Expand Down

0 comments on commit 2705b0b

Please sign in to comment.