diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 43d18124..c206225b 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -81,11 +81,12 @@ jobs: run: | import os - for n in ('ECMWFAPIRC', 'CDSAPIRC'): - m = os.path.expanduser("~/." + n.lower()) - if os.environ[n]: - with open(m, "w") as f: - print(os.environ[n], file=f) + # for n in ('ECMWFAPIRC', 'CDSAPIRC'): + n = 'ECMWFAPIRC' + m = os.path.expanduser("~/." + n.lower()) + if os.environ[n]: + with open(m, "w") as f: + print(os.environ[n], file=f) - run: mkdir test-data - run: echo "dataA" > test-data/dataA.txt - run: echo "dataB" > test-data/dataB.txt diff --git a/climetlab/core/__init__.py b/climetlab/core/__init__.py index 347b0d2d..a033504b 100644 --- a/climetlab/core/__init__.py +++ b/climetlab/core/__init__.py @@ -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 @@ -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 diff --git a/climetlab/version b/climetlab/version index 144996ed..6dd46024 100644 --- a/climetlab/version +++ b/climetlab/version @@ -1 +1 @@ -0.20.3 +0.20.4