Skip to content

Commit dc4a5d9

Browse files
committed
Fix
1 parent b41c429 commit dc4a5d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/iris/aux_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def _derive_array(self, *dep_arrays, **other_args):
121121

122122
# The dims of all the given components should be the same and, **presumably**,
123123
# the same as the result ??
124-
for i_dep, (dep, name) in enumerate(zip(dep_arrays, self.dependencies().keys())):
124+
for i_dep, (dep, name) in enumerate(zip(dep_arrays, self.dependencies.keys())):
125125
if dep.ndim != result.ndim:
126126
msg = (
127127
f"Dependency #{i_dep}, '{name}' has ndims={dep.ndim}, "

lib/iris/tests/unit/aux_factory/test_AuxCoordFactory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def make_co(name, dims):
177177
self.y = make_co("y", (1, ny, 1))
178178
self.z = make_co("z", (1, 1, nz))
179179

180+
@property
180181
def dependencies(self):
181182
return {'x': self.x, "y": self.y, "z": self.z}
182183

0 commit comments

Comments
 (0)