Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix concatenation of cubes with aux factories #5340

Merged
merged 3 commits into from
Jun 16, 2023

Conversation

schlunma
Copy link
Contributor

@schlunma schlunma commented Jun 6, 2023

🚀 Pull Request

Description

This PR makes sure to properly update all aux factory dependencies when concatenating cubes.

Closes #5339


Consult Iris pull request check list

@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (438f292) 89.32% compared to head (6da8979) 89.32%.

Additional details and impacted files
@@           Coverage Diff           @@
##           v3.6.x    #5340   +/-   ##
=======================================
  Coverage   89.32%   89.32%           
=======================================
  Files          89       89           
  Lines       22393    22398    +5     
  Branches     5375     5375           
=======================================
+ Hits        20003    20008    +5     
  Misses       1640     1640           
  Partials      750      750           
Impacted Files Coverage Δ
lib/iris/_concatenate.py 95.47% <100.00%> (+0.04%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@trexfeathers trexfeathers self-assigned this Jun 14, 2023
@schlunma schlunma changed the base branch from main to v3.6.x June 14, 2023 15:05
@schlunma schlunma changed the base branch from v3.6.x to main June 14, 2023 15:05
@schlunma schlunma changed the base branch from main to v3.6.x June 14, 2023 15:16
Copy link
Contributor

@trexfeathers trexfeathers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @schlunma, I ran the script in #5339 and I can confirm that this fixes the error.

Two things:

  • The comment below about checking dimension spanning
  • Once Fix #5347 #5349 has been merged (which will include the special patch What's New section): please could you include a What's New entry

lib/iris/_concatenate.py Show resolved Hide resolved
@trexfeathers trexfeathers merged commit 99fa8ce into SciTools:v3.6.x Jun 16, 2023
@schlunma schlunma deleted the fix_aux_factory_concat branch June 16, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏁 Done - v3.6.1
Development

Successfully merging this pull request may close these issues.

Aux factories are not properly updated after concatenation
2 participants