From 8188d030a5417236a9fb4c4c51c70716d192881c Mon Sep 17 00:00:00 2001
From: Guzman <guzmanvigliecca@gmail.com>
Date: Wed, 30 Oct 2024 21:46:16 -0300
Subject: [PATCH] Removing name of translation for aa seq so it doesnt show

---
 src/SeqViz.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/SeqViz.tsx b/src/SeqViz.tsx
index 35f1cfa70..e26b50f6e 100644
--- a/src/SeqViz.tsx
+++ b/src/SeqViz.tsx
@@ -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.