Skip to content

Commit 15a6063

Browse files
feat(application): add OTHER as valid tissue value in GUI metadata grid (#522)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent deef45a commit 15a6063

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/aignostics/application/_gui/_page_application_describe.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ async def _validate() -> None:
446446
"LIVER",
447447
"LUNG",
448448
"LYMPH_NODE",
449+
"OTHER",
449450
}
450451
) or (
451452
row["disease"]
@@ -554,14 +555,15 @@ class ThumbnailRenderer {
554555
"LIVER",
555556
"LUNG",
556557
"LYMPH_NODE",
558+
"OTHER",
557559
],
558560
"valueListGap": 10,
559561
},
560562
"cellClassRules": {
561563
"bg-red-300": "!new Set(['ADRENAL_GLAND', 'BLADDER', 'BONE', 'BRAIN',"
562-
"'BREAST', 'COLON', 'LIVER', 'LUNG', 'LYMPH_NODE']).has(x)",
564+
"'BREAST', 'COLON', 'LIVER', 'LUNG', 'LYMPH_NODE', 'OTHER']).has(x)",
563565
"bg-green-300": "new Set(['ADRENAL_GLAND', 'BLADDER', 'BONE', 'BRAIN',"
564-
"'BREAST', 'COLON', 'LIVER', 'LUNG', 'LYMPH_NODE']).has(x)",
566+
"'BREAST', 'COLON', 'LIVER', 'LUNG', 'LYMPH_NODE', 'OTHER']).has(x)",
565567
},
566568
},
567569
{

0 commit comments

Comments
 (0)