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

From Powder to Single Crystal Mode Switch #22

Closed
wants to merge 2 commits into from
Closed

Conversation

mpatrou
Copy link
Collaborator

@mpatrou mpatrou commented Jan 10, 2025

Short description of the changes:

In Progress

Long description of the changes:

Check list for the pull request

  • I have read the [CONTRIBUTING]
  • I have read the [CODE_OF_CONDUCT]
  • I have added tests for my changes
  • I have updated the documentation accordingly

Check list for the reviewer

  • I have read the [CONTRIBUTING]
  • I have verified the proposed changes
  • best software practices
    • all internal functions have an underbar, as is python standard
    • clearly named variables (better to be verbose in variable names)
    • code comments explaining the intent of code blocks
  • All the tests are passing
  • The documentation is up to date
  • code comments added when explaining intent

Manual test for the reviewer

References

mpatrou and others added 2 commits January 9, 2025 14:00
* sc - powder toggle switch, code cleanup

* mode selection only in view during init, test updated

* mode parent check on widget init

* relevant test added

* ei value update and passed from view-presenter-model through callback functions

* experiment data update -save and restore- on powder switch

* mode switch test update

* tests fixed with the new changes for mode switch data passing

* presenter, tests for mode switch, code cleanup, move for visibility, model left out intentionally

* updates after comparing with intermediate model (model still not included)

* validation simplification cleanup

* selection mode init rewrite, presenter cleanup

* experiment data remain valid during mode switch, tests, update
* tests for SC model

* initalization and modQ change

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* pre-commit fix

* precommit fix

* initialization and minor changes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andrei Savici <[email protected]>
@mpatrou mpatrou closed this Jan 10, 2025
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