Skip to content

Commit

Permalink
fix w-avg
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Oct 30, 2023
1 parent 821068f commit 549d321
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions rook/utils/weighted_average_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,5 @@ def weighted_average(
apply_fixes=False,
apply_average=False,
):
result_set = WeightedAverage(
collection=collection,
ignore_undetected_dims=ignore_undetected_dims,
output_dir=output_dir,
output_type=output_type,
split_method=split_method,
file_namer=file_namer,
apply_fixes=apply_fixes,
apply_average=apply_average)._calculate()
result_set = WeightedAverage(**locals()).calculate()
return result_set

0 comments on commit 549d321

Please sign in to comment.