@infect/infect-rda-sample-importer

4.3.7 • Public • Published

Infect RDA Sample Storage Importer

class INFECTV2Importer extends Importer {

constructor() {
    super();

    this.registerSmapleProcessor(new INFECTv2Sample());
}

}

class INFECTv2Sample extends Sample {

constructor() {
    super();

    this.registerField('unique-identifier', new UniqueIdentiferiField());
    this.setRequiredField('A', 'B', '');
    this.setColumnIndex('unique-identifier, 1');

    this.setMappingProcessor(new RemoteAPIProcessor());
}

}

const import = new Import(); import.

import.pipe(request);

const httpHandler = new HTTPStreamHandler(); httpHandler.pipe(request);

Readme

Keywords

Package Sidebar

Install

npm i @infect/infect-rda-sample-importer

Weekly Downloads

62

Version

4.3.7

License

MIT

Unpacked Size

144 kB

Total Files

106

Last publish

Collaborators

  • ee
  • fxstr
  • tobiaskneubuehler