Skip to content

Commit

Permalink
Update to Gen3.2 0.10.37 (#27)
Browse files Browse the repository at this point in the history
* update to Gen3.2 0.10.37

* fix missing semicolon

* revert url
  • Loading branch information
craigrbarnes authored Aug 8, 2024
1 parent e28ac87 commit 0f7060e
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 168 deletions.
306 changes: 164 additions & 142 deletions config/bih/explorer.json
Original file line number Diff line number Diff line change
@@ -1,152 +1,174 @@
[
{
"tabTitle": "Series",
"charts": {
"gen3_discovery.commons": {
"chartType": "fullPie",
"title": "Platform"
},
"gen3_discovery.primary_site": {
"chartType": "fullPie",
"title": "Primary Site"
},
"gen3_discovery.disease_type": {
"chartType": "fullPie",
"title": "Disease Type"
}
[
{
"tabTitle": "Series",
"charts": {
"gen3_discovery.commons": {
"chartType": "fullPie",
"title": "Platform"
},
"filters": {
"tabs": [
{
"title": "Study Selection",
"fields": [
"gen3_discovery.PatientSex",
"gen3_discovery.Modality",
"gen3_discovery.BodyPartExamined",
"gen3_discovery.primary_site",
"gen3_discovery.disease_type",
"gen3_discovery.commons"
]
}
]
"gen3_discovery.primary_site": {
"chartType": "fullPie",
"title": "Primary Site"
},
"table": {
"enabled": true,
"pageLimit": {
"limit": 10000,
"label": "Maximum of 10,000 Total Records. Records per Page:"
"gen3_discovery.disease_type": {
"chartType": "fullPie",
"title": "Disease Type"
}
},
"filters": {
"tabs": [
{
"title": "Study Selection",
"fields": [
"gen3_discovery.PatientSex",
"gen3_discovery.Modality",
"gen3_discovery.BodyPartExamined",
"gen3_discovery.primary_site",
"gen3_discovery.disease_type",
"gen3_discovery.commons"
]
}
]
},
"table": {
"enabled": true,
"pageLimit": {
"limit": 10000,
"label": "Maximum of 10,000 Total Records. Records per Page:"
},
"fields": [
"gen3_discovery.dicom_viewer_url",
"gen3_discovery.StudyInstanceUID",
"gen3_discovery.StudyDescription",
"gen3_discovery.BodyPartExamined",
"gen3_discovery.primary_site",
"gen3_discovery.disease_type",
"gen3_discovery.commons",
"gen3_discovery.collection_id",
"gen3_discovery.SeriesInstanceUID",
"gen3_discovery.SeriesDescription"
],
"columns": {
"gen3_discovery.StudyInstanceUID": {
"title": "Study ID"
},
"fields": [
"gen3_discovery.dicom_viewer_url",
"gen3_discovery.StudyInstanceUID",
"gen3_discovery.SeriesDescription",
"gen3_discovery.BodyPartExamined",
"gen3_discovery.primary_site",
"gen3_discovery.disease_type",
"gen3_discovery.commons",
"gen3_discovery.SeriesInstanceUID"
],
"columns": {
"gen3_discovery.StudyInstanceUID": {
"title": "Study ID"
},
"gen3_discovery.dicom_viewer_url": {
"title": "",
"type": "link",
"cellRenderFunction": "DiacomLink"
},
"gen3_discovery.SeriesDescription": {
"title": "Series Description"
},
"gen3_discovery.BodyPartExamined": {
"title": "Body Part Examined"
},
"gen3_discovery.SeriesInstanceUID": {
"title": "Series Images"
},
"gen3_discovery.commons": {
"title": "Platform"
"gen3_discovery.StudyDescription": {
"title": "Study Description"
},
"gen3_discovery.dicom_viewer_url": {
"title": "",
"type": "link",
"width" : "32px",
"cellRenderFunction": "DiacomLink"
},
"gen3_discovery.SeriesDescription": {
"title": "Series Description"
},
"gen3_discovery.BodyPartExamined": {
"title": "Body Part Examined"
},
"gen3_discovery.SeriesInstanceUID": {
"title": "Series Images"
},
"gen3_discovery.commons": {
"title": "Platform",
"type": "link",
"cellRenderFunction": "linkWithValueMap",
"params": {
"valueToURL": {
"IDC": "https://portal.imaging.datacommons.cancer.gov/explore/",
"MIDRC": "https://data.midrc.org",
"Stanford AIMI": "https://stanfordaimi.azurewebsites.net/",
"DART": "https://dart.acr.org/"
}
}
},
"gen3_discovery.collection_id": {
"title": "Collection"
}
}
},
"guppyConfig": {
"dataType": "metadata",
"nodeCountTitle": "Imaging Series",
"fieldMapping": [
{
"field": "gen3_discovery.StudyInstanceUID",
"name": "Study ID"
},
{
"field": "gen3_discovery.SeriesDescription",
"name": "Series Description"
},
{
"field": "gen3_discovery.BodyPartExamined",
"name": "Body Part Examined"
},
{
"field": "gen3_discovery.PatientSex",
"name": "Gender"
},
{
"field": "gen3_discovery.primary_site",
"name": "Primary Site"
},
{
"field": "gen3_discovery.disease_type",
"name": "Disease Type"
},
{
"field": "gen3_discovery.commons",
"name": "Platform"
},
{
"field": "gen3_discovery.collection_id",
"name": "Collection ID"
}
],
"manifestMapping": {
"resourceIndexType": "metadata",
"resourceIdField": "gen3_discovery.StudyInstanceUID",
"referenceIdFieldInResourceIndex": "StudyInstanceUID",
"referenceIdFieldInDataIndex": "StudyInstanceUID"
},
"guppyConfig": {
"dataType": "metadata",
"nodeCountTitle": "Imaging Series",
"fieldMapping": [
{
"field": "gen3_discovery.StudyInstanceUID",
"name": "Study ID"
},
{
"field": "gen3_discovery.SeriesDescription",
"name": "Series Description"
},
{
"field": "gen3_discovery.BodyPartExamined",
"name": "Body Part Examined"
},
{
"field": "gen3_discovery.PatientSex",
"name": "Gender"
},
{
"field": "gen3_discovery.primary_site",
"name": "Primary Site"
},
"accessibleFieldCheckList": ["authz"],
"accessibleValidationField": "gen3_discovery.authz"
},
"loginForDownload": false,
"dropdowns": {
"download-menu": {
"enabled": true,
"title": "Download Table",
"leftIcon": "gen3:download",
"rightIcon": "gen3:chevron-down",
"dropdownItems": [
{
"field": "gen3_discovery.disease_type",
"name": "Disease Type"
"enabled": true,
"type": "data-json",
"title": "JSON",
"leftIcon": "datafile",
"rightIcon": "download",
"action": "data-json",
"actionArgs": {
"filename": "MIDRC_Series_table.json",
"rootPath": "gen3_discovery"
}
},
{
"field": "gen3_discovery.commons",
"name": "Platform"
}
],
"manifestMapping": {
"resourceIndexType": "metadata",
"resourceIdField": "gen3_discovery.StudyInstanceUID",
"referenceIdFieldInResourceIndex": "StudyInstanceUID",
"referenceIdFieldInDataIndex": "StudyInstanceUID"
},
"accessibleFieldCheckList": ["authz"],
"accessibleValidationField": "gen3_discovery.authz"
},
"loginForDownload": false,
"dropdowns": {
"download-menu": {
"enabled": true,
"title": "Download Table",
"leftIcon": "gen3:download",
"rightIcon": "gen3:chevron-down",
"dropdownItems": [
{
"enabled": true,
"type": "data-json",
"title": "JSON",
"leftIcon": "datafile",
"rightIcon": "download",
"action": "data-json",
"actionArgs" : {
"filename": "MIDRC_Series_table.json",
"rootPath": "gen3_discovery"
}
},
{
"enabled": true,
"type": "data-csv",
"title": "CSV",
"leftIcon": "datafile",
"rightIcon": "download",
"action": "data-csv",
"actionArgs" : {
"filename": "MIDRC_Series_table.csv",
"rootPath": "gen3_discovery"
}
"enabled": true,
"type": "data-csv",
"title": "CSV",
"leftIcon": "datafile",
"rightIcon": "download",
"action": "data-csv",
"actionArgs": {
"filename": "MIDRC_Series_table.csv",
"rootPath": "gen3_discovery"
}
]
}
},
"buttons": [
]
}
]
}
]
}
},
"buttons": []
}
]
2 changes: 1 addition & 1 deletion config/bih/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"topBar": {
"items": [
],
"showLogin": false,
"loginButtonVisibility": "logoutOnly",
"classNames": {
"root": "flex justify-end items-center align-middle w-100 h-10 bg-secondary"
}
Expand Down
2 changes: 1 addition & 1 deletion config/bih/themeColors.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
"darkest": "#535353",
"min": "#191919"
},
"tablePallet-contrast": {
"table-contrast": {
"max": "#111111",
"lightest": "#111111",
"lighter": "#111111",
Expand Down
Loading

0 comments on commit 0f7060e

Please sign in to comment.