Skip to content

Commit

Permalink
Removing name of translation for aa seq so it doesnt show
Browse files Browse the repository at this point in the history
  • Loading branch information
guzmanvig committed Oct 31, 2024
1 parent 73744da commit 8188d03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SeqViz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ export default class SeqViz extends React.Component<SeqVizProps, SeqVizState> {
// If the seqType is aa, make the entire sequence the "translation"
if (seqType === "aa") {
// TODO: during some grand future refactor, make this cleaner and more transparent to the user
translations = [{ direction: 1, end: seq.length, start: 0, name: "translation" }];
// Making the name empty so the translation handle doesn't show
translations = [{ direction: 1, end: seq.length, start: 0, name: "" }];
}

// Since all the props are optional, we need to parse them to defaults.
Expand Down

0 comments on commit 8188d03

Please sign in to comment.