mf-utilities
Advanced tools
Comparing version 0.6.2 to 0.6.3
{ | ||
"name": "mf-utilities", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Small utilities dealing with molecular formula", | ||
@@ -21,5 +21,5 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"chemical-elements": "^0.6.2", | ||
"mf-parser": "^0.6.2" | ||
"chemical-elements": "^0.6.3", | ||
"mf-parser": "^0.6.3" | ||
} | ||
} |
@@ -14,3 +14,3 @@ 'use strict'; | ||
forceIonization = false, | ||
targetMass, | ||
targetMass | ||
} = options; | ||
@@ -26,3 +26,3 @@ | ||
em: 0, | ||
charge: entry.charge + realIonization.charge, | ||
charge: entry.charge + realIonization.charge | ||
}; | ||
@@ -37,5 +37,5 @@ | ||
result.delta = result.em - targetMass; | ||
result.ppm = Math.abs((targetMass - result.em) / targetMass * 1e6); | ||
result.ppm = Math.abs(((targetMass - result.em) / targetMass) * 1e6); | ||
} | ||
return 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
Updatedchemical-elements@^0.6.3
Updatedmf-parser@^0.6.3