-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ewm3143 apply diffcal during norm workflow #469
Conversation
7683229
to
90a64d5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #469 +/- ##
===========================================
+ Coverage 55.65% 96.48% +40.82%
===========================================
Files 64 65 +1
Lines 4713 4832 +119
===========================================
+ Hits 2623 4662 +2039
+ Misses 2090 170 -1920 ☔ View full report in Codecov by Sentry. |
0a0eccb
to
4e2852e
Compare
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.
I notice a lot of places flagged by codecov needing test coverage
raise RecoverableException.stateUninitialized(runId, useLiteMode) | ||
else: | ||
raise RuntimeError( | ||
"No calibration exists, and you lack permissions to create one, please contact your CIS." |
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.
Comma splice
raise RecoverableException.stateUninitialized(runId, useLiteMode) | ||
else: | ||
raise RuntimeError( | ||
"No calibration exists, and you lack permissions to create one." " Please contact your CIS." |
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.
ruff seems to think this should be one line so it shall be
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.
if you put a #
it could silence it
not seeing those now so I'm not sure what that was about |
…as intended just a couple line breaks fix tests up coverage fix broken test mark workspaces with metadata if no calibration/normalization is present up test coverage up timeout so integration test doesnt fail? actually account for closing the new QMessageBox.warning from new alt flow normalization workflow should initialize state and then warn the user its using default diffcal revert integration_test.yml fix integration tests, update state init and perms check for reduction up test coverage remove completed TODO fix incorrectly scoped patch merge and fix integration tests the right wayTM fix broken unit test update according to pr comments tell ruff to stop formmating that line
72879d3
to
19d62bb
Compare
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.
👍
Description of work
This supplies the features requested in ewm3143:
This also supplies features in the neighborhood of what it asked for:
I have also refactored:
StrEnum
to live in a seperateEnum
module.WorkspaceMetadata
now usesStrEnum
instead of literals.To test
NOTE: Use the View Sample Logs option when right clicking on a workspace to confirm it has the snapred metadata.
Attempt to run either [Normalization Worflow, Reduction Workflow] -> [without a state, with a default state, with a valid state]
Normalization
without a state
with a default state
with a valid state
Reduction
As it is in
next
except:Link to EWM item
EWM#3143
EWM#7758
Verification
Acceptance Criteria
This list is for ease of reference, and does not replace reading the EWM story as part of the review. Verify this list matches the EWM story before reviewing.
Unfortunately there is not an explicity Acceptance Criteria outlined in the story, what I can infer from it are as followsMalcolm has since reviewed the AC and made clarifications.
7758