
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
bruker-data-test
Advanced tools
$ npm i bruker-data-test
Provide zipped and coffee DataTestApi instance (from data-test-api package).
See https://github.com/cheminfo/data-test-api
import { zipped } from 'bruker-data-test';
const files = await zipped.files(); // list of zip file names
const name = 'aspirin-1h.zip';
const aspirin = zipped.find((entry) => entry.name === name);
//or
const aspirin = await zipped.findFile(name); // get a file by name
// Get the file buffer
const buffer = await aspirin.buffer();
// or
const buffer = await zipped.findData(name);
// get the file as a Stream
const stream = aspirin.stream();
// get buffer for cyclosporin_1h.zip
const cyclosporin1hBuffer = await zipped.getData(
'cyclosporin/cyclosporin_1h.zip',
);
Get the root path of uncompressed bruker experiments files
import { coffee } from 'bruker-data-test';
import { FileCollection } from 'file-collection';
const cofeeRoot = coffee.root;
const fileCollection = await FileCollection.fromPath(cofeeRoot);
% tree data/zipped -L 2 data/flat/coffee
data/zipped
βββ aspirin-1h-processed.zip
βββ aspirin-1h.zip
βββ cyclosporin
βΒ Β βββ cyclosporin_1h.zip
βΒ Β βββ cyclosporin_cosy.zip
βΒ Β βββ cyclosporin_hmbc.zip
βΒ Β βββ cyclosporin_hsqc.zip
βΒ Β βββ inversionRecovery2D.zip
βββ naphtoicAcid-1h.zip
βββ nonUniformSampling
βΒ Β βββ cosy-nus.zip
βΒ Β βββ hsqc-nus.zip
βββ strychnine-1h.zip
βββ t1rho-1H.zip
data/flat/coffee
βββ UV1009_M1-1003-1002_6268712_73uEjPg4XR
βΒ Β βββ 10
βΒ Β βββ 20
βΒ Β βββ 21
βΒ Β βββ 22
βΒ Β βββ 23
βΒ Β βββ 98888
βΒ Β βββ 99999
βββ UV1010_M1-1003-1002_6268756_ErISKLIoeB
βββ 10
βββ 11
βββ 12
βββ 13
βββ 98888
βββ 99999
NB: Each of subfolders in data/flat/coffee includes a pdata folder, acqu and acqus files.
And can include other files like fid, audita.txt, etc.
FAQs
Provides bruker NMR data files for testing purposes
We found that bruker-data-test demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Hereβs whatβs actually happening.