-
Notifications
You must be signed in to change notification settings - Fork 128
Parial move of reflectometry gui to std::optional #38545
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
Parial move of reflectometry gui to std::optional #38545
Conversation
821ec70
to
f121bc3
Compare
a11db32
to
640da16
Compare
640da16
to
9a37f10
Compare
6aaba92
to
2b2d1a2
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.
Thanks very much for picking this one up for us! I've not done any functional testing yet, but the code changes are looking good to me and I can't see anything obvious that should be a problem (particularly given that all the tests are passing).
There was just one small thing I had a question about before I start testing the GUI.
2b2d1a2
to
8ae0880
Compare
Sorry for the delay on the functional testing. I've tested as many of the GUI features as I can, including reducing data manually and using the auto-processing feature, and it's all looking good to me. I can't check live data properly because we're out of cycle, but I've clicked the button to start it up and it displays the message we would expect to see at the moment. I'm sure there won't be any issues with it given the nature of these changes, and we'll still have a chance to test it after this has gone into main. Thanks again for picking this up for us @peterfpeterson! I will hold off clicking approve until after code freeze to make sure it isn't merged in too early. @MialLewis, just tagging you in this so that you're aware of it and the wider issue that it's linked to, as there will be more work needed on this in future. |
👋 Hi, @peterfpeterson, Conflicts have been detected against the base branch. Please rebase your branch against the base branch. |
6306a59
to
0db8c77
Compare
0db8c77
to
85f952e
Compare
85f952e
to
1312e4e
Compare
As part of the modernization work laid out in #37875, this migrates more of the reflectometry interface from
boost::optional
tostd::optional
.The things being intentionally skipped use the following classes as optional:
string
which is involved in theboost::optional<boost::optional<string>>
and breaks testsdouble
which prompts changes in the sip bindingsItem
LookupCriteriaError
LookupRow
ProcessingInstructions
Row
RowLocation
Subtree
To test:
This is a refactor so all tests should pass, but poking around with the ISIS reflectometry GUI is a good idea.
This does not require release notes.
Reviewer
Please comment on the points listed below (full description).
Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.
Code Review
Functional Tests
Does everything look good? Mark the review as Approve. A member of
@mantidproject/gatekeepers
will take care of it.Gatekeeper
If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.