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

DM-11594: test_distortion fails when run from pytest #88

Merged
merged 4 commits into from Aug 16, 2017

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented Aug 15, 2017

No description provided.

r-owen and others added 4 commits August 15, 2017 14:17
The round trip test was testing against the inverse transform,
but should compare against reality.
When running pytest, the pickled classes (CcdData,CornerData) can't be
unpickled because they're associated with __main__ but that's not in the
right place with pytest. Instead, use Struct.
for future proofing the persisted data, as we are changing
the camera system name from pupil to field angle.
Also make the pixPos key a string, to make the data a bit easier
to understand, and to aid future conversion to json.
Remove an unused import.
@r-owen r-owen merged commit 803aad9 into master Aug 16, 2017
@ktlim ktlim deleted the tickets/DM-11594 branch August 25, 2018 06:45
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.

None yet

2 participants