Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nmr-processing

Package Overview
Dependencies
Maintainers
4
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nmr-processing - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

7

CHANGELOG.md
# Changelog
### [2.1.2](https://www.github.com/cheminfo/nmr-processing/compare/v2.1.1...v2.1.2) (2021-07-27)
### Bug Fixes
* **signalsToXY:** atomsIDs instead assignment ([47f2abd](https://www.github.com/cheminfo/nmr-processing/commit/47f2abdce42d29d519459e941cfe6a644335eabc))
### [2.1.1](https://www.github.com/cheminfo/nmr-processing/compare/v2.1.0...v2.1.1) (2021-07-26)

@@ -4,0 +11,0 @@

2

package.json
{
"name": "nmr-processing",
"version": "2.1.1",
"version": "2.1.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -14,11 +14,11 @@ import Matrix from 'ml-matrix';

chemicalShifts[i] = signals[i].delta;
ids[signals[i].assignment] = i;
ids[signals[i].atomIDs] = i;
}
//create the coupling matrix
for (let i = 0; i < nSpins; i++) {
let { assignment: signalAssignment, js: jCoupling } = signals[i];
let { atomIDs: signalAssignment, js: jCoupling } = signals[i];
for (let k = 0; k < jCoupling.length; k++) {
let { coupling, assignment } = jCoupling[k];
couplingConstants.set(ids[signalAssignment], ids[assignment], coupling);
couplingConstants.set(ids[assignment], ids[signalAssignment], coupling);
let { coupling, atomIDs } = jCoupling[k];
couplingConstants.set(ids[signalAssignment], ids[atomIDs], coupling);
couplingConstants.set(ids[atomIDs], ids[signalAssignment], coupling);
}

@@ -25,0 +25,0 @@ }

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc