Skip to content

Commit

Permalink
don't calculate codons at low mag
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Feb 16, 2023
1 parent 5e95747 commit 27673af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ whereMouseCurrentlyIs,setWhereMouseCurrentlyIs}) => {
const seqLength = locations.reduce((acc, location) => acc + location.end - location.start + 1, 0);

const codonMap = [];
if (feature.type=="CDS" | feature.type=="mat_peptide"){
if (zoomLevel > (-2) && (feature.type=="CDS" | feature.type=="mat_peptide")){

for (let j = rowStart; j < rowEnd; j++) {
let positionSoFar = 0;
Expand Down

1 comment on commit 27673af

@vercel
Copy link

@vercel vercel bot commented on 27673af Feb 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.