-
Notifications
You must be signed in to change notification settings - Fork 128
Document module mantid.utils.reflectometry.orso_helper #38401
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
Conversation
Introduced a UML class diagram to the documentation to illustrate the main classes supporting the SaveISISReflectometryORSO algorithm and their relationships. This should help users and developers to better understand the structure and dependencies involved. Signed-off-by: Jose Borreguero <borreguero@gmail.com>
Changed the image width from 80% to 70% in the documentation for the SaveISISReflectometryORSO algorithm. This adjustment aims to improve layout and readability within the documentation. Signed-off-by: Jose Borreguero <borreguero@gmail.com>
Deleted the outdated class diagram image and its references from the documentation. Also, added a new section under `mantid.utils` for reflectometry utilities, detailing the `orso_helper` module and its functionality. Signed-off-by: Jose Borreguero <borreguero@gmail.com>
Clarify the function of the orsopy library in relation to ORSO data, specifying supported file formats. Add references for ORSO specifications and the orsopy library for further details and compliance. Signed-off-by: Jose Borreguero <borreguero@gmail.com>
Signed-off-by: Jose Borreguero <borreguero@gmail.com>
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 putting this together! The class diagram is very useful and the wording in the document is really clear. I'm sure this will be really useful for people trying to use these helper classes going forward.
Just one thing I wanted to double check - I notice that we're using itallics to highlight things like mantid.utils.reflectometry.orso_helper
and the helper class names, rather than using double apostrophes (i.e. the way .ort
and .orb
are highlighted)? My feeling is that the double apostrophes are a bit more common elsewhere in the Mantid docs. That said, this still looks good as it is, so I'm happy to go with whatever you prefer here - just let me know and I'll be happy to approve once the tests are passing.
I've set the tests that failed to re-run as looking at them both I think the runners flaked out rather than there being a test failure. |
Updated documentation to use double backticks for module and class names to improve consistency and readability. This change affects the `mantid.utils.reflectometry.orso_helper` module and its related class descriptions. Signed-off-by: Jose Borreguero <borreguero@gmail.com>
I switched to double apostrophes 🙂 |
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.
Brilliant, thanks @jmborr, the page is rendering well with the double apostrophes. Thanks again for putting all of this together!
Description of work
A documentation page briefly describes the classes implemented in the module
Fixes #38395
Companion to #38402
To test:
Just build the documentation (
ninja docs-html
) and review resulting filedocs/html/api/python/mantid/utils/reflectometry.html
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.