Skip to content

Commit

Permalink
feat: update for support chemspectra datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
Lan Le committed Mar 19, 2024
1 parent bcf1606 commit 0c2c3a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nmrglue/fileio/jcampdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ def _readrawdic(filename):
# no datatype in this section, use dummy
currdatatype = "NA"

# support for chemspectra
if currdatatype not in ["NMRSPECTRUM", "NMRFID", "NA"]:
currdatatype = "NA"

# push to result dict
key = "_datatype_"+currdatatype
try:
Expand Down

0 comments on commit 0c2c3a3

Please sign in to comment.