jcampconverter
Advanced tools
Comparing version 2.5.0 to 2.5.1
{ | ||
"name": "jcampconverter", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Parse and convert JCAMP data", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -276,3 +276,3 @@ 'use strict'; | ||
if (result.twoD) { | ||
if (result.twoD && wantXY) { | ||
add2D(result, options); | ||
@@ -293,3 +293,3 @@ if (result.profiling) result.profiling.push({ | ||
if (options.xy) { // the spectraData should not be a oneD array but an object with x and y | ||
if (options.xy && wantXY) { // the spectraData should not be a oneD array but an object with x and y | ||
if (spectra.length > 0) { | ||
@@ -319,3 +319,3 @@ for (var i = 0; i < spectra.length; i++) { | ||
// maybe it is a GC (HPLC) / MS. In this case we add a new format | ||
if (isGCMS) { | ||
if (isGCMS && wantXY) { | ||
if (options.newGCMS) { | ||
@@ -322,0 +322,0 @@ addNewGCMS(result); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45778