mf-matcher
Advanced tools
Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "mf-matcher", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Returns true / false for an object using mw, em, msem, unsaturation and atoms", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -28,2 +28,4 @@ 'use strict'; | ||
maxEM = +Infinity, | ||
minMSEM = -Infinity, | ||
maxMSEM = +Infinity, | ||
atoms | ||
@@ -43,2 +45,7 @@ } = options; | ||
} | ||
if (ms.em !== undefined) { | ||
if ((ms.em < minMSEM) || (ms.em > maxMSEM)) return false; | ||
} | ||
if (targetMass && ms.ppm > precision) return false; | ||
@@ -45,0 +52,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8639
195
0