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

Widen cube printout for long ancil or cell-measure names. #4124

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

pp-mo
Copy link
Member

@pp-mo pp-mo commented May 7, 2021

🚀 Pull Request

Description

Fixes #4123

NOTE: adding the test exposed another bug in cube printout : When widening, it stopped showing the cube units !
I have fixed that as well, but it did cause a knock-on in one other test (see separate commit with results-file change).

I would really rather have tidied up first, with #3998
-- after all, this bug has probably happened because of the unreasonable complexity of the Cube.summary code !
But this one is quite a simple fix, and if we do #3998 later it can check that it still passes this test.
And there is still a good deal of work needed to inject good levels of testing into #3998


Consult Iris pull request check list

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.

Sorry for the delay @pp-mo. LGTM

@trexfeathers trexfeathers merged commit 2e34c0d into SciTools:main Jun 25, 2021
@pp-mo
Copy link
Member Author

pp-mo commented Jun 28, 2021

Thanks @trexfeathers
Possibly obsolete soon, with #4206 , if it lives ...

This was referenced Jul 7, 2021
tkknight added a commit to tkknight/iris that referenced this pull request Jul 21, 2021
* main: (43 commits)
  [pre-commit.ci] pre-commit autoupdate (SciTools#4244)
  Updated environment lockfiles (SciTools#4242)
  [pre-commit.ci] pre-commit autoupdate (SciTools#4239)
  Documented the --force option on conda env create (SciTools#4240)
  Updated environment lockfiles (SciTools#4237)
  pre-commit isort and black --check only for cirrus-ci (SciTools#4235)
  Only run docs-building sessions with Python 3.8. (SciTools#4210)
  consolidate cirrus-ci documentation tasks (SciTools#4219)
  Updated environment lockfiles (SciTools#4223)
  Replace pyke nopyke (SciTools#4198)
  drop cirrus-ci minimal tests (SciTools#4218)
  remove change management tech paper (SciTools#4217)
  [pre-commit.ci] pre-commit autoupdate (SciTools#4213)
  Updated environment lockfiles (SciTools#4212)
  Widen cube printout for long ancil or cell-measure names. (SciTools#4124)
  convert docs print statements (SciTools#4209)
  optimise pre-commit (SciTools#4208)
  drop black and flake8 dependencies (SciTools#4181)
  pre-commit blacked docs (SciTools#4205)
  pre-commit update (SciTools#4204)
  ...
@pp-mo pp-mo deleted the wide_cubestr_fix branch October 6, 2021 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cubes with long-named Ancillary-Variables or Cell-Measures won't print out
2 participants