Skip to content

Commit

Permalink
Merge branch 'release/0.20.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Feb 12, 2024
2 parents 798c716 + eb58884 commit 9d74295
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
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
2 changes: 1 addition & 1 deletion climetlab/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.20.3
0.20.4

0 comments on commit 9d74295

Please sign in to comment.