From bd9dbbb4b4b56408651c6765b1c27773de117406 Mon Sep 17 00:00:00 2001 From: Katie Stahl Date: Mon, 25 Sep 2023 12:11:46 -0400 Subject: [PATCH] feat: relaxing requirements on minimum information model for nomenclature generation, updating fusor version to accomodate --- client/src/components/Pages/Summary/Readable/Readable.tsx | 5 ++++- requirements.txt | 2 +- server/setup.cfg | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/components/Pages/Summary/Readable/Readable.tsx b/client/src/components/Pages/Summary/Readable/Readable.tsx index f28e880a..291464f2 100644 --- a/client/src/components/Pages/Summary/Readable/Readable.tsx +++ b/client/src/components/Pages/Summary/Readable/Readable.tsx @@ -31,6 +31,9 @@ export const Readable: React.FC = ({ validatedFusion }) => { ); }, [validatedFusion]); + const assayName = fusion.assay?.assay_name ? fusion.assay.assay_name : "" + const assayId = fusion.assay?.assay_id ? `(${fusion.assay.assay_id})` : "" + /** * Render rows specific to assayed fusion fields * @returns React component containing table rows @@ -52,7 +55,7 @@ export const Readable: React.FC = ({ validatedFusion }) => { Assay - {fusion.assay ? `${fusion.assay?.assay_name} (${fusion.assay?.assay_id})` : ""} + {fusion.assay ? `${assayName} ${assayId}` : ""} diff --git a/requirements.txt b/requirements.txt index f9829fa0..d19c649b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,7 +25,7 @@ decorator==5.1.1 executing==1.2.0 fake-useragent==1.1.3 fastapi==0.100.0 -fusor==0.0.28.dev1 +fusor==0.0.30.dev1 ga4gh.vrs==0.8.4 ga4gh.vrsatile.pydantic==0.0.13 gene-normalizer==0.1.39 diff --git a/server/setup.cfg b/server/setup.cfg index 5647a5c7..df67fa46 100644 --- a/server/setup.cfg +++ b/server/setup.cfg @@ -16,7 +16,7 @@ install_requires = fastapi >= 0.72.0 aiofiles asyncpg - fusor ~= 0.0.28-dev1 + fusor ~= 0.0.30-dev1 sqlparse >= 0.4.2 urllib3 >= 1.26.5 click