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

PR to add fromdict/asdict methods to classes #52

Merged
merged 3 commits into from
Jul 28, 2022
Merged

Conversation

rosesyrett
Copy link
Contributor

added fromdict/ asdict methods, added tests to verify these correctlyserialise objects.

Additionally, I have changed how naz_constraint and det_constraint are handled in hkl/calc.py, _calc_hkl_to_position method, so that if 'naz' constraint is in det_constraint, det_constraint excludes naz_constraint.

@rosesyrett rosesyrett requested a review from isikhar July 28, 2022 15:09
@isikhar isikhar merged commit 22d2d77 into main Jul 28, 2022
@isikhar isikhar deleted the serialiseObjects branch August 1, 2022 12:50
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