Skip to content

Commit

Permalink
fix config attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorighi committed Dec 18, 2022
1 parent 91fd5d8 commit f0d652b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ a configuration will look like this:
"uri": "https://www.ebi.ac.uk/ena/cram/sequence" //url of the server + /secuence endpoint
},
"sequenceIdType": "", // optional
"sequenceSizes": { // mandatory
"sequenceData": { // mandatory
"md5checksum1": {name: chr1, size: 1000000},
"md5checksum2": {name: chr2, size: 920300},
}
Expand Down
2 changes: 1 addition & 1 deletion src/RefGetAdapter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class AdapterClass extends BaseSequenceAdapter {
pluginManager?: PluginManager,
) {
super(config, getSubAdapter, pluginManager)
this.sequenceData = readConfObject(this.config,'sequenceSizes')
this.sequenceData = readConfObject(this.config,'sequenceData')
this.serverLocation = readConfObject(this.config, 'serverLocation')
}

Expand Down

0 comments on commit f0d652b

Please sign in to comment.