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 ExperimentList.all_same_type(). #758

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

toastisme
Copy link
Contributor

This is syntactic sugar to check if all experiments return the same Experiment.get_type(). Useful in a lot of places where algorithms are not designed to work with a mixture of types (e.g. stills and rotation experiments).

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.59%. Comparing base (9e26747) to head (0752d54).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #758      +/-   ##
==========================================
+ Coverage   41.56%   41.59%   +0.02%     
==========================================
  Files         189      189              
  Lines       17066    17074       +8     
  Branches     3273     3276       +3     
==========================================
+ Hits         7094     7102       +8     
  Misses       9318     9318              
  Partials      654      654              

@toastisme toastisme merged commit efe7c26 into cctbx:main Sep 18, 2024
14 checks passed
@toastisme toastisme deleted the add_expt_all_same_type branch September 18, 2024 08:09
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