Skip to content

Commit

Permalink
feat: relaxing requirements on minimum information model for nomencla…
Browse files Browse the repository at this point in the history
…ture generation, updating fusor version to accomodate
  • Loading branch information
katiestahl committed Sep 25, 2023
1 parent eefc195 commit bd9dbbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion client/src/components/Pages/Summary/Readable/Readable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ export const Readable: React.FC<Props> = ({ 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
Expand All @@ -52,7 +55,7 @@ export const Readable: React.FC<Props> = ({ validatedFusion }) => {
<Typography className="row-name">Assay</Typography>
</TableCell>
<TableCell align="right">
<Typography>{fusion.assay ? `${fusion.assay?.assay_name} (${fusion.assay?.assay_id})` : ""}</Typography>
<Typography>{fusion.assay ? `${assayName} ${assayId}` : ""}</Typography>
</TableCell>
</TableRow>
</>
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion server/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd9dbbb

Please sign in to comment.