-
Notifications
You must be signed in to change notification settings - Fork 0
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
From Powder to Single Crystal Mode Switch #23
Conversation
…model left out itentionally
6a5bac5
to
09e0654
Compare
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #23 +/- ##
==========================================
+ Coverage 91.40% 92.30% +0.90%
==========================================
Files 10 10
Lines 663 715 +52
==========================================
+ Hits 606 660 +54
+ Misses 57 55 -2 ☔ View full report in Codecov by Sentry. |
|
||
# check the conditions | ||
if angle_sum > 360 or ( | ||
alpha_beta_sum < gamma_value or alpha_gamma_sum < beta_value or beta_gamma_sum < alpha_value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make everything <=
instead of <
I get NaN with 90, 45, 45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected
* ei value update and passed from view-presenter-model through callback functions * experiment data update -save and restore- on pwoder switch * presenter, tests for mode switch, code cleanup, move for visibility, model left out itentionally * updates after comparing with intermediate model (model still not included) * selection mode init rewrite, presenter cleaunp * qmod boundaries view, model * angle validation added * max modq rename * tests updated for modq with 3 decimal places on the view * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * precommit fixes, double function removed, code cleanup * angles second condition for forming a triangle added * = added in angle validation triangle conditions * tests for validators, sc-pd switch, qmod, etc * switch_to_SC renamed for concistency --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Short description of the changes:
The code includes mainly changes for switching from powder mode to Single crystal. This is the second part of the switch, so any multiple switching back and forth are captured here and the related tests.
Long description of the changes:
It includes the following:
Check list for the pull request
Check list for the reviewer
Manual test for the reviewer
References
Switch from PD and SC mode