Skip to content

Commit

Permalink
add source
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshadfield committed Apr 6, 2020
1 parent aa11b08 commit 9a8f6ca
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,16 +392,23 @@ class BlabSource extends PublicGroupSource {
}

class InrbDrcSource extends PrivateGroupSource {
/* Person to contact for enquiries: Alli Black / James Hadfield */
static get _name() { return "inrb-drc"; }

// INRB's bucket is named differently due to early adoption
get bucket() { return "nextstrain-inrb"; }
}

class NzCovid19PrivateSource extends PrivateGroupSource {
/* Person to contact for enquiries: James Hadfield */
static get _name() { return "nz-covid19-private"; }
}

class NextspainSource extends PublicGroupSource {
/* Person to contact for enquiries: James Hadfield */
static get _name() { return "nextspain"; }
}

class SeattleFluSource extends PublicGroupSource {
static get _name() { return "seattleflu"; }
}
Expand All @@ -410,10 +417,13 @@ const sources = [
CoreSource,
CoreStagingSource,
CommunitySource,
/* Public nextstrain groups: */
BlabSource,
InrbDrcSource,
SeattleFluSource,
NzCovid19PrivateSource
NextspainSource,
/* Private nextstain groups: */
NzCovid19PrivateSource,
InrbDrcSource
];

const sourceMap = new Map(sources.map(s => [s._name, s]));
Expand Down

0 comments on commit 9a8f6ca

Please sign in to comment.