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

dials.show without imageset #2056

Merged
merged 6 commits into from
May 4, 2022
Merged

dials.show without imageset #2056

merged 6 commits into from
May 4, 2022

Conversation

dagewa
Copy link
Member

@dagewa dagewa commented Apr 4, 2022

dials.show was crashing when passed an experiment list that had an empty imageset (for example, from dials.import_mtz). In that case skip the display of format class and template.

dagewa and others added 4 commits April 4, 2022 12:09
For example, experiments created by dials.import_mtz are missing
an imageset. Allow dials.show to display the experimental
geometry by skipping the imageset parts.
@codecov
Copy link

codecov bot commented Apr 4, 2022

Codecov Report

Merging #2056 (90aaddf) into main (085adbf) will increase coverage by 0.00%.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##             main    #2056   +/-   ##
=======================================
  Coverage   80.08%   80.08%           
=======================================
  Files         576      576           
  Lines       65440    65439    -1     
  Branches     9232     9232           
=======================================
+ Hits        52405    52406    +1     
+ Misses      10998    10997    -1     
+ Partials     2037     2036    -1     

command_line/show.py Outdated Show resolved Hide resolved
Add comment to help remember this time...
@ndevenish ndevenish merged commit 68ca854 into main May 4, 2022
@ndevenish ndevenish deleted the show-without-imageset branch May 4, 2022 14:37
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

4 participants