Skip to content

Commit

Permalink
fix: ensure plural js in multiplet-analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Sep 1, 2021
1 parent 8ca09e9 commit eeb68f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -66,7 +66,7 @@
"ml-regression-polynomial": "^2.2.0",
"ml-spectra-processing": "^6.8.0",
"ml-stat": "^1.3.3",
"multiplet-analysis": "^1.0.1",
"multiplet-analysis": "^2.0.0",
"nmr-correlation": "^2.0.1",
"nmr-parser": "^1.6.2",
"nmr-processing": "^2.5.0",
Expand Down
4 changes: 2 additions & 2 deletions src/data/data1d/detectSignal.ts
Expand Up @@ -18,9 +18,9 @@ export default function detectSignal(x, re, from, to, frequency) {
});

return {
multiplicity: result.j.map((j) => j.multiplicity).join(''),
multiplicity: result.js.map((j) => j.multiplicity).join(''),
kind: 'signal',
delta: result.chemShift,
j: result.j,
js: result.js,
};
}

0 comments on commit eeb68f0

Please sign in to comment.