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

Add getstate and setstate for PolychromaticBeam. #711

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

toastisme
Copy link
Contributor

Override setstate and getstate methods for PolychromaticBeam to fix error when using copy.deepcopy.

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.20%. Comparing base (080b599) to head (2ff70b4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #711   +/-   ##
=======================================
  Coverage   42.20%   42.20%           
=======================================
  Files         187      187           
  Lines       16743    16743           
  Branches     3191     3191           
=======================================
  Hits         7067     7067           
  Misses       9031     9031           
  Partials      645      645           

@toastisme toastisme merged commit 7242bb3 into cctbx:main Mar 20, 2024
13 checks passed
@toastisme toastisme deleted the copy_polychromatic_beam_fix branch March 20, 2024 10:29
toastisme added a commit to toastisme/dxtbx that referenced this pull request Jul 18, 2024
* Add getstate and setstate for PolychromaticBeam.
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