Skip to content

Commit

Permalink
Turn off progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Feb 11, 2024
1 parent 5ecf4d4 commit 04fa901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions climetlab/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def cube(self, *args, **kwargs):
def get_metadata(self, i):
return self[i].metadata()

def unique_values(self, *coords, remapping=None, patches=None, progress_bar=True):
def unique_values(self, *coords, remapping=None, patches=None, progress_bar=False):
"""
Given a list of metadata attributes, such as date, param, levels,
returns the list of unique values for each attributes
Expand Down Expand Up @@ -166,7 +166,7 @@ def unique_values(self, *coords, remapping=None, patches=None, progress_bar=True

return dic

def combinations(self, *coords, progress_bar=True):
def combinations(self, *coords, progress_bar=False):
assert all(isinstance(k, str) for k in coords), coords

iterable = self
Expand Down

0 comments on commit 04fa901

Please sign in to comment.