Skip to content

fix locator #78

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

Merged
merged 2 commits into from
May 3, 2022
Merged

fix locator #78

merged 2 commits into from
May 3, 2022

Conversation

bjlittle
Copy link
Member

@bjlittle bjlittle commented Apr 28, 2022

This PR fixes a bug resulting from porting from py2 to py3 involving true division instead of integer division.

This fix is required by users for the next release.

Note that there are expected image differences, so the SciTools/test-tephi-imagehash#8 requires to be merged first before this PR will pass.

@bjlittle bjlittle changed the title fix formatters and locator fix locator Apr 29, 2022
@bjlittle
Copy link
Member Author

All of the expected image differences involve the tick values of the isotherms and/or dry adiabats, which were miss-calculated due to the true division porting bug.

There are 6 test failures, but there are only 3 new images due to the test duplication i.e., three groups of two tests generate the same image.

tephi1

tephi2

tephi3

tephi4

tephi5

tephi6

@jamesp jamesp merged commit 59e05fd into SciTools:main May 3, 2022
@bjlittle bjlittle deleted the fix-formatters-and-locator branch May 10, 2022 08:13
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.

2 participants