-
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
Ewm6381 fix pixel masks dropdown #506
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #506 +/- ##
=======================================
Coverage 96.55% 96.55%
=======================================
Files 66 66
Lines 4960 4960
=======================================
Hits 4789 4789
Misses 171 171 ☔ View full report in Codecov by Sentry. |
meant to approve request change, not entire PR
A new defect has been created to take care of the mask workspace retention within ADS as this work would be deemed out of scope for this particular defect. This defect only deals with the pixel mask drop down. Here is the link to the new defect: Defect 8487 |
…/neutrons/SNAPRed into ewm6381-fix-pixel-masks-dropdown
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.
Tested and dropdown resets correctly.
Description of work
This PR addresses an issue where the "MaskWorkspace" dropdown in the pixel mask UI does not update correctly after reduction completion. This story has changed a little bit as instead of deleting all workspaces after Reduction is complete, we retain the outputs workspaces and the pixel mask workspaces. Therefore, we don't need to delete all the entries within the Pixel mask drop down but rather insure they are updated every time a run number is added or removed.
Explanation of work
The fix involves modifying the logic responsible for populating the pixel mask dropdown to ensure it fetches and displays an up-to-date list of workspaces. The following changes were made:
To test
Dev testing
Start with a fresh stateless local directory and on the
next
branch. Open SNAPRed and run a Diffcal for run 58882 to completion.Then go start the Reduction workflow for the same run 58882. Once you enter the run number, you will notice a pixel mask populate within the drop down. This is correct behavior as this pixel mask is stored within the Run's IPTS directory tree.
One portion of testing can be done now:
Now switch over to this branch and re run testing steps above. You should see that the pixel mask drop down is updated correctly.
CIS testing
Not needed.
Link to EWM item
EWM # 6381
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.