Skip to content

Commit

Permalink
Removing self as an argument to calculate_statistic to attempt to res…
Browse files Browse the repository at this point in the history
…olve error with METplotpy run because this would need to be done in the develop branch
  • Loading branch information
jprestop committed Oct 16, 2024
1 parent 5b9775c commit d5d5e37
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(self, values, columns_names, stat_name, aggregation=False):
def calculate_statistic(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 d5d5e37

Please sign in to comment.