Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Commit 2e92a8f

Browse files
committed
fixed env name in workflow
1 parent 7547fb2 commit 2e92a8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/mopper-pytest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
auto-update-conda: true
3434
activate-environment: testenv
35-
environment-file: conda/testenv.yml
35+
environment-file: conda/testenv.yaml
3636
python-version: ${{ matrix.python-version }}
3737
channels: conda-forge
3838
#- name: Add conda to system path

src/mopper/mop_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,10 @@ def get_bounds_values(ctx, ds, bname):
800800
calc = False
801801
var_log = logging.getLogger(ctx.obj['var_log'])
802802
var_log.debug(f"Getting bounds values for {bname}")
803-
ancil_file = ctx.obj[f"grid_{ctx.obj['realm']}"]
804803
if bname in ds.variables:
805804
bnds_val = ds[bname].values
806805
elif ancil_file != "":
806+
ancil_file = ctx.obj[f"grid_{ctx.obj['realm']}"]
807807
fname = f"{ctx.obj['ancils_path']}/{ancil_file}"
808808
ancil = xr.open_dataset(fname)
809809
if bname in ancil.variables:

0 commit comments

Comments
 (0)