base-analysis
Advanced tools
Comparing version 0.1.5 to 0.2.0
@@ -35,3 +35,3 @@ import max from 'ml-array-max'; | ||
if (optimize) { | ||
if (isMax === false) { | ||
if (!isMax) { | ||
let maximumY = max(y); | ||
@@ -38,0 +38,0 @@ for (let i = 0; i < y.length; i++) { |
@@ -41,3 +41,3 @@ "use strict"; | ||
if (optimize) { | ||
if (isMax === false) { | ||
if (!isMax) { | ||
let maximumY = (0, ml_array_max_1.default)(y); | ||
@@ -44,0 +44,0 @@ for (let i = 0; i < y.length; i++) { |
{ | ||
"name": "base-analysis", | ||
"version": "0.1.5", | ||
"version": "0.2.0", | ||
"description": "Common package to deal with analysis", | ||
@@ -18,6 +18,6 @@ "main": "./lib/index.js", | ||
"baselines": "^1.1.1", | ||
"cheminfo-types": "^1.1.0", | ||
"cheminfo-types": "^1.2.0", | ||
"convert-to-jcamp": "^5.2.0", | ||
"is-any-array": "^2.0.0", | ||
"jcampconverter": "^9.0.1", | ||
"jcampconverter": "^9.0.2", | ||
"js-quantities": "^1.7.6", | ||
@@ -33,5 +33,5 @@ "ml-array-max": "^1.2.4", | ||
"ml-spectra-fitting": "^1.0.0", | ||
"ml-spectra-processing": "^11.6.0", | ||
"ml-spectra-processing": "^11.7.0", | ||
"ml-stat": "^1.3.3", | ||
"react-plot": "^0.19.1", | ||
"react-plot": "^0.20.1", | ||
"xy-parser": "^5.0.2" | ||
@@ -38,0 +38,0 @@ }, |
@@ -49,3 +49,3 @@ import type { MeasurementXY } from 'cheminfo-types'; | ||
if (optimize) { | ||
if (isMax === false) { | ||
if (!isMax) { | ||
let maximumY = max(y); | ||
@@ -52,0 +52,0 @@ for (let i = 0; i < y.length; i++) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
391952
+ Addedreact-d3-utils@0.6.1(transitive)
+ Addedreact-plot@0.20.4(transitive)
- Removedreact-d3-utils@0.5.1(transitive)
- Removedreact-plot@0.19.1(transitive)
Updatedcheminfo-types@^1.2.0
Updatedjcampconverter@^9.0.2
Updatedreact-plot@^0.20.1