Skip to content

Commit

Permalink
variant view - show correct species
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed Mar 20, 2024
1 parent 49bf0c4 commit 59e482e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/views/eva-variant-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,9 @@ EvaVariantView.prototype = {
this.assemblyAccession = this.accessionID.startsWith("rs") ?
accessioningServiceData.assemblyAccession :
accessioningServiceData.referenceSequenceAccession;
this.taxonomy = accessioningServiceData.taxonomyAccession;

var speciesInfo = _.findWhere(getAccessionedSpeciesList(),
{assemblyAccession : this.assemblyAccession, taxonomyId: this.taxonomy});
{assemblyAccession : this.assemblyAccession, taxonomyId: accessioningServiceData.taxonomyAccession});
this.species = speciesInfo.taxonomyCode + "_" + speciesInfo.assemblyCode;
},

Expand Down

0 comments on commit 59e482e

Please sign in to comment.