Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow text values in JCAMP files without brackets#100

Merged
jjhelmus merged 1 commit into
jjhelmus:masterfrom
andreasdoll:jcamp-text
Jul 10, 2019
Merged

Allow text values in JCAMP files without brackets#100
jjhelmus merged 1 commit into
jjhelmus:masterfrom
andreasdoll:jcamp-text

Conversation

@andreasdoll
Copy link
Copy Markdown
Contributor

Allow text values in JCAMP files which aren't surrounded by angle
brackets. Remove angle brackets only if they indeed surround the value.
Try parsing the value to numerical types, and return a string if parsing
fails.

Although I didn't read the JCAMP specification, a quick look at JCAMP for NMR (1993), Example 4 makes me believe that the angle brackets are not required for text values.

Allow text values in JCAMP files which aren't surrounded by angle
brackets. Remove angle brackets only if they indeed surround the value.
Try parsing the value to numerical types, and return a string if parsing
fails.
@jjhelmus
Copy link
Copy Markdown
Owner

LGTM

@jjhelmus jjhelmus merged commit 98810e0 into jjhelmus:master Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants