https://github.com/cheminfo/bruker-data-test

https://github.com/cheminfo/bruker-data-test

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: cheminfo
  • License: mit
  • Language: TypeScript
  • Default Branch: main
  • Size: 86.9 MB
Statistics
  • Stars: 0
  • Watchers: 5
  • Forks: 0
  • Open Issues: 0
  • Releases: 9
Created about 6 years ago · Last pushed 12 months ago
Metadata Files
Readme Changelog License

README.md

bruker-data-test

NPM version build status Test coverage npm download

Installation

$ npm i bruker-data-test

Provide zipped and coffee DataTestApi instance (from data-test-api package).

See https://github.com/cheminfo/data-test-api

Usage

```js 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 cyclosporin1h.zip const cyclosporin1hBuffer = await zipped.getData( 'cyclosporin/cyclosporin1h.zip', ); ```

Get the root path of uncompressed bruker experiments files

```js import { coffee } from 'bruker-data-test'; import { FileCollection } from 'file-collection';

const cofeeRoot = coffee.root; const fileCollection = await FileCollection.fromPath(cofeeRoot); ```

Data Files Structure

% 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.

License

MIT

Owner

  • Name: Cheminfo
  • Login: cheminfo
  • Kind: organization

GitHub Events

Total
  • Issue comment event: 4
  • Push event: 6
  • Pull request review comment event: 1
  • Pull request review event: 3
  • Pull request event: 3
  • Create event: 1
Last Year
  • Issue comment event: 4
  • Push event: 6
  • Pull request review comment event: 1
  • Pull request review event: 3
  • Pull request event: 3
  • Create event: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 3
  • Total pull requests: 15
  • Average time to close issues: 4 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.4
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jobo322 (3)
Pull Request Authors
  • cheminfo-bot (11)
  • jobo322 (5)
  • tpoisseau (1)
  • lpatiny (1)
Top Labels
Issue Labels
Pull Request Labels
autorelease: tagged (7) autorelease: pending (4)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 338 last-month
  • Total dependent packages: 5
  • Total dependent repositories: 4
  • Total versions: 16
  • Total maintainers: 5
npmjs.org: bruker-data-test

Provides bruker NMR data files for testing purposes

  • Versions: 16
  • Dependent Packages: 5
  • Dependent Repositories: 4
  • Downloads: 338 Last month
Rankings
Dependent packages count: 3.7%
Dependent repos count: 5.6%
Downloads: 6.6%
Average: 10.4%
Forks count: 15.4%
Stargazers count: 20.9%
Last synced: 10 months ago

Dependencies

package.json npm
  • @types/jest ^27.4.1 development
  • eslint ^8.10.0 development
  • eslint-config-cheminfo-typescript ^10.3.0 development
  • jest ^27.5.1 development
  • prettier ^2.5.1 development
  • rimraf ^3.0.2 development
  • ts-jest ^27.1.3 development
  • typescript ^4.6.2 development
  • filelist-from ^0.2.4
.github/workflows/release.yml actions
  • GoogleCloudPlatform/release-please-action v2 composite
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
.github/workflows/nodejs-ts.yml actions
.github/workflows/npm-prerelease.yml actions