Skip to content

Commit

Permalink
Merge pull request #1746 from kbase/develop
Browse files Browse the repository at this point in the history
Point fix for ama viewer
  • Loading branch information
briehl authored Jul 2, 2020
2 parents 86e9842 + 7e70efd commit b952eb7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,6 @@ define ([
if (featureData.global_location.contig_id) {
featureData.location.forEach((loc) => {
// only show things on the main contig
var loc = featureData.location[k];
if (featureData.global_location.contig_id === loc.contig_id) {
cbFormat.location.push([
loc.contig_id,
Expand Down Expand Up @@ -922,7 +921,7 @@ define ([
};

result.features.forEach((feature) => {
contigWindowData.genes.push(translate_feature_data(result.features[f]));
contigWindowData.genes.push(translate_feature_data(feature));
});

var cgb = new ContigBrowserPanel();
Expand Down Expand Up @@ -1541,7 +1540,6 @@ define ([
.spread( function (result) {
$contigBrowser.empty();
result.features.forEach((feature) => {
// for (let f = 0; f < result.features.length; f += 1) {
contigDataForBrowser.genes.push(translate_feature_data(feature));
});

Expand Down

0 comments on commit b952eb7

Please sign in to comment.