From 5f4ca0e3ccad495b0506a3737dbb59c3bbff5a64 Mon Sep 17 00:00:00 2001 From: xnought Date: Tue, 27 Feb 2024 16:47:38 -0800 Subject: [PATCH] feat: display the similar proteins --- frontend/src/lib/SimilarProteins.svelte | 65 ++++++++++++++++--------- 1 file changed, 41 insertions(+), 24 deletions(-) diff --git a/frontend/src/lib/SimilarProteins.svelte b/frontend/src/lib/SimilarProteins.svelte index bca86ae8..a7d797f7 100644 --- a/frontend/src/lib/SimilarProteins.svelte +++ b/frontend/src/lib/SimilarProteins.svelte @@ -21,28 +21,30 @@ }); - - - - - - - - {#each similarProteins as protein} - - - - - +
+
Name Probability Match E-Value Description
- - - {undoFormatProteinName(protein.name)} - {protein.prob}{protein.evalue}{protein.description}
+ + + + + - {/each} -
Name Probability Match E-Value Description
+ {#each similarProteins as protein} + + + + + {undoFormatProteinName(protein.name)} + + {protein.prob} + {protein.evalue} + {protein.description} + + {/each} + +