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

chromatography

Package Overview
Dependencies
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromatography - npm Package Compare versions

Comparing version 3.7.0 to 3.9.0

9

package.json
{
"name": "chromatography",
"version": "3.7.0",
"version": "3.9.0",
"description": "Tools for storing, search and analize GC/MS spectra",

@@ -61,8 +61,9 @@ "main": "lib/index.js",

"mf-parser": "^0.6.4",
"ml-array-max": "^1.0.0",
"ml-array-mean": "^1.0.0",
"ml-array-max": "^1.1.0",
"ml-array-mean": "^1.1.0",
"ml-gsd": "^2.0.2",
"ml-regression-polynomial": "^1.0.2",
"mzdata": "^1.1.0",
"netcdf-gcms": "^1.1.0",
"mzmjs": "^0.2.0",
"netcdf-gcms": "^1.2.2",
"num-sort": "^1.0.0",

@@ -69,0 +70,0 @@ "xy-parser": "^2.2.0"

@@ -7,6 +7,15 @@ import { readFileSync } from 'fs';

test('load NetCDF', () => {
const path = join(__dirname, '../../../testFiles/netcdf/test.cdf');
const path = join(__dirname, '../../../testFiles/netcdf/bruker-gcms.cdf');
const netcdf = readFileSync(path);
const chrom = fromNetCDF(netcdf);
expect(chrom.getSerieNames()).toEqual(['tic', 'ms']);
expect(chrom).toHaveLength(4513);
});
test('load agilent HPLC cdf', () => {
const path = join(__dirname, '../../../testFiles/netcdf/agilent-hplc.cdf');
const netcdf = readFileSync(path);
const chrom = fromNetCDF(netcdf);
expect(chrom.getSerieNames()).toEqual(['uv254']);
expect(chrom).toHaveLength(4651);
});
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