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.reciprocal_lattice_viewer: set maximum number of experiment toggles #2248

Merged
merged 3 commits into from
Oct 19, 2022

Conversation

graeme-winter
Copy link
Contributor

Limit the number to 10 by default; can override with max_experiments= on the command line, e.g. set to 10000 to restore current behaviour. 10 chosen as "reasonable default"

Fixes #1605

graeme-winter and others added 2 commits October 17, 2022 08:44
Limit the number to 10 by default; can override with max_experiments= on the
command line.

Fixes #1605
@codecov
Copy link

codecov bot commented Oct 17, 2022

Codecov Report

Merging #2248 (5eedc5a) into main (010e9a3) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2248      +/-   ##
==========================================
+ Coverage   80.46%   80.50%   +0.03%     
==========================================
  Files         587      587              
  Lines       66849    66849              
  Branches     8883     8883              
==========================================
+ Hits        53793    53818      +25     
+ Misses      10995    10971      -24     
+ Partials     2061     2060       -1     

@graeme-winter
Copy link
Contributor Author

Chose 15 in retrospect as some standard runs on i19 have 13 and 15 should still be "sane"

Copy link
Contributor

@jbeilstenedmands jbeilstenedmands left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried main & PR on a 70-sweep multi-crystal dataset, and without this fix the reciprocal lattices couldn't even be displayed as the list of ids was wider than my screen..... And now I can see the first $n$ again, so I think this is an improvement.

@graeme-winter
Copy link
Contributor Author

Request in team chat: please can we instead show a text box with "showing X lattices"

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.

for large list of ids dials.reciprocal_lattice_viewer does not show view space
3 participants