-
Notifications
You must be signed in to change notification settings - Fork 22
Add support for JCAMP-DX files in NMR block #1205
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
83f29b0
to
1ff5913
Compare
datalab
|
Project |
datalab
|
Branch Review |
ml-evs/add-nmr-jcamp-support
|
Run status |
|
Run duration | 07m 30s |
Commit |
|
Committer | Matthew Evans |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
504
|
View all changes introduced in this branch ↗︎ |
704cc91
to
b71be8f
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1205 +/- ##
==========================================
+ Coverage 70.90% 70.91% +0.01%
==========================================
Files 66 66
Lines 4358 4429 +71
==========================================
+ Hits 3090 3141 +51
- Misses 1268 1288 +20
🚀 New features to boost your workflow:
|
b71be8f
to
07d5e9d
Compare
07d5e9d
to
2eca7f3
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.
Everything working well!
Two small comments:
-
Always seeing "NMRBlock raised warning: JCAMP-DX key without value: $RELAX" when using JCAMP-DC example_data
-
There is some measurement details missing when using JCAMP-DC Files
Thanks!
Yeah, this is an nmrglue warning, I think it's probably something slightly off specification with the example data.
Yup, I've extracted all the things that are required to be in the file, but we could also try to reverse engineer some of the custom extension keys |
This PR enables JCAMP-DX (
.jdx
,.dx
) files to be read by the NMR block. It also updates the documentation for the NMR block slightly, and refactors the block into combined functions for loading either Bruker/JCAMP data.Related to #610 -- we could easily add support for NMR given nmrglue's existing functionality for JCAMP-DX, but a general JCAMP block might be too complicated.