Comparing version 1.10.2 to 1.11.0
{ | ||
"name": "emdb", | ||
"version": "1.10.2", | ||
"version": "1.11.0", | ||
"description": "Database manager for exact mass query", | ||
@@ -35,3 +35,3 @@ "main": "src/index.js", | ||
"ml-regression-theil-sen": "^2.0.0", | ||
"ms-spectrum": "^1.6.9", | ||
"ms-spectrum": "^1.6.10", | ||
"nucleotide": "^1.2.21", | ||
@@ -45,3 +45,3 @@ "peaks-similarity": "^2.3.1", | ||
}, | ||
"gitHead": "ec0ac584c93696ac53e2099d637b1473f2edbb18" | ||
"gitHead": "788c226dbbd0a854635f8df842a7af2070c4fcea" | ||
} |
@@ -106,4 +106,2 @@ 'use strict'; | ||
console.log({ mfs }); | ||
// we will now group the data per mf | ||
@@ -121,2 +119,3 @@ const grouped = {}; | ||
nbPubmed: 0, | ||
nbWithMassSpectra: 0, | ||
}; | ||
@@ -128,2 +127,3 @@ } | ||
if (mf.info.bioActive) grouped[mf.mf].nbBioactive++; | ||
if (mf.info.nbMassSpectra) grouped[mf.mf].nbWithMassSpectra++; | ||
if (mf.info.pubmeds && mf.info.pubmeds.length > 0) { | ||
@@ -130,0 +130,0 @@ grouped[mf.mf].nbPubmed++; |
1266339
2359
Updatedms-spectrum@^1.6.10