Skip to content

Commit

Permalink
Adding self as an argument to calculate_statistic to attempt to resol…
Browse files Browse the repository at this point in the history
…ve error with METplotpy run
  • Loading branch information
jprestop authored Oct 16, 2024
1 parent 34cc8e2 commit f1d1e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metcalcpy/sum_stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def process_rows(self):
# return self.parallelize(data, partial(self.run_on_subset, func), num_of_processes)


def calculate_statistic(values, columns_names, stat_name, aggregation=False):
def calculate_statistic(self, values, columns_names, stat_name, aggregation=False):
"""Calculate the statistic of values
Args:
values: a np.array of values we want to calculate the statistic on
Expand Down

0 comments on commit f1d1e64

Please sign in to comment.