mf-from-google-sheet
Advanced tools
Comparing version 1.1.24 to 1.1.25
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.1.24", | ||
"version": "1.1.25", | ||
"description": "Retrieve and format molecular formula from google sheet", | ||
@@ -25,3 +25,3 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"mf-generator": "^1.3.12", | ||
"mf-generator": "^1.3.13", | ||
"mf-parser": "^1.4.0", | ||
@@ -33,3 +33,3 @@ "mf-utilities": "^1.2.13", | ||
}, | ||
"gitHead": "0ccc601b2ba051652963fad05479902943d7feaf" | ||
"gitHead": "0b932f49c82fd9fb2ef0804c1430b1499426ef95" | ||
} |
@@ -20,3 +20,3 @@ 'use strict'; | ||
function parse(tsv, tsvReferences) { | ||
async function parse(tsv, tsvReferences) { | ||
let parsed = Papa.parse(tsv, { | ||
@@ -57,3 +57,5 @@ delimiter: '\t', | ||
try { | ||
let mfs = generateMFs([formula.mf], { ionizations: formula.modif }); | ||
let mfs = await generateMFs([formula.mf], { | ||
ionizations: formula.modif, | ||
}); | ||
for (let mf of mfs) { | ||
@@ -60,0 +62,0 @@ mf.info = {}; |
6908
135
Updatedmf-generator@^1.3.13