File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ version NEXT
24
24
* Fix bug in `cf.read ` when reading UM files that caused LBPROC value
25
25
131072 (Mean over an ensemble of parallel runs) to be ignored
26
26
(https://github.com/NCAS-CMS/cf-python/issues/737)
27
+ * Fix bug in `cf.aggregate ` that sometimes put a null transpose
28
+ operation into the Dask grpah when one was not needed
29
+ (https://github.com/NCAS-CMS/cf-python/issues/754)
27
30
28
31
----
29
32
Original file line number Diff line number Diff line change @@ -4817,7 +4817,7 @@ def _aggregate_2_fields(
4817
4817
4818
4818
# Ensure that the axis orders are the same in both fields
4819
4819
transpose_axes1 = [dim0_name_map [axis0 ] for axis0 in data_axes0 ]
4820
- if transpose_axes1 != data_axes1 :
4820
+ if transpose_axes1 != list ( data_axes1 ) :
4821
4821
parent1 .transpose (transpose_axes1 , inplace = True )
4822
4822
4823
4823
construct_type = parent0 .construct_type
You can’t perform that action at this time.
0 commit comments