From c7d389727686420996f20b3ee106348a8536f7d4 Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Mon, 7 Oct 2024 09:54:47 -0400 Subject: [PATCH 1/2] refactor: use consistent labeling for coordinate system --- .../TemplatedSequenceElementInput.tsx | 6 ++++-- .../Input/TxSegmentElementInput/TxSegmentElementInput.tsx | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx b/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx index b4ef0f3..58263a0 100644 --- a/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx +++ b/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx @@ -137,7 +137,8 @@ const TemplatedSequenceElementInput: React.FC< placement="bottom" title={ - The starting genomic position of the segment. Inter-residue. + The starting genomic position (inter-residue) of the transcript + segment. } > @@ -154,7 +155,8 @@ const TemplatedSequenceElementInput: React.FC< placement="bottom" title={ - The ending genomic position of the segment. Inter-residue. + The ending genomic position (inter-residue) of the transcript + segment. } > diff --git a/client/src/components/Pages/Structure/Input/TxSegmentElementInput/TxSegmentElementInput.tsx b/client/src/components/Pages/Structure/Input/TxSegmentElementInput/TxSegmentElementInput.tsx index 613b854..ebff92e 100644 --- a/client/src/components/Pages/Structure/Input/TxSegmentElementInput/TxSegmentElementInput.tsx +++ b/client/src/components/Pages/Structure/Input/TxSegmentElementInput/TxSegmentElementInput.tsx @@ -333,7 +333,8 @@ const TxSegmentCompInput: React.FC = ({ placement="bottom" title={ - The starting genomic position of the segment. Inter-residue. + The starting genomic position (inter-residue) of the transcript + segment. } > @@ -361,7 +362,8 @@ const TxSegmentCompInput: React.FC = ({ placement="bottom" title={ - The ending genomic position of the segment. Inter-residue. + The ending genomic position (inter-residue) of the transcript + segment. } > From 9d56950d1ceffc7a25aaab93e65b8c4225a260d0 Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Mon, 7 Oct 2024 13:51:11 -0400 Subject: [PATCH 2/2] remove transcript in templated sequence input --- .../TemplatedSequenceElementInput.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx b/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx index 58263a0..435e780 100644 --- a/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx +++ b/client/src/components/Pages/Structure/Input/TemplatedSequenceElementInput/TemplatedSequenceElementInput.tsx @@ -137,8 +137,7 @@ const TemplatedSequenceElementInput: React.FC< placement="bottom" title={ - The starting genomic position (inter-residue) of the transcript - segment. + The starting genomic position (inter-residue) of the segment. } > @@ -155,8 +154,7 @@ const TemplatedSequenceElementInput: React.FC< placement="bottom" title={ - The ending genomic position (inter-residue) of the transcript - segment. + The ending genomic position (inter-residue) of the segment. } >