@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);

/@infect/infect-rda-sample-importer/

    Package Sidebar

    Install

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

    Weekly Downloads

    1

    Version

    4.3.7

    License

    MIT

    Unpacked Size

    144 kB

    Total Files

    106

    Last publish

    Collaborators

    • ee
    • fxstr
    • tobiaskneubuehler