-
Notifications
You must be signed in to change notification settings - Fork 1
Add UV-Vis insitu block #45
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
…tu into bes/insitu-uv-vis
Co-authored-by: Copilot <[email protected]>
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.
- Add a title to this PR and a brief description
- Fix the tests
- Mark ready for review
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'm not sure I've understood how everything works yet, but locally the block doesn't seem to work.
|
||
def _create_top_line_figure(plot_data: Dict[str, Any], ranges: Dict[str, Range1d]) -> figure: | ||
""" | ||
Create the NMR line plot figure component. |
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.
There are a few NMR
in the Uv-Vis plotting, it's not a big deal but it would be cleaner to modify them, at least the docstrings for the doc.
I can't edit my review any more, but now that the block is working in the UI, a few more comments:
|
…cific things to uv-vis
…user to set the folders
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.
Few minor comments, I'll do a bit of clean up myself too, otherwise great job @be-smith! I also don't like uvvis.uvvis_utils
as a name, so will just name it uvvis.utils
05f7dcf
to
a1200d8
Compare
…er is raised after available folders has been found
…' of github.com:datalab-org/datalab-app-plugin-insitu into bes/uv-vis-insitu-merge
…' of github.com:datalab-org/datalab-app-plugin-insitu into bes/uv-vis-insitu-merge Also changed calls to renamed uvvis_utils.py to utils.py
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 @be-smith, great work! Let's use this as the new base to work off with XRD and others.
Vue block is added to main datalab in PR datalab-org/datalab#1246
Adds an insitu UV-Vis block, and adds to the functionality of the in-situ nmr block. Adding data and sample granularity options to improve loading times, and changing how the legend is labelled to give more useful info about the highlighted spectra