Skip to content

Commit

Permalink
adding license, doi, commons to commons_name
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmeyer committed Nov 5, 2024
1 parent 505436a commit 4eb7a25
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 23 deletions.
34 changes: 22 additions & 12 deletions config/bih/explorer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"tabTitle": "Series",
"charts": {
"gen3_discovery.commons": {
"gen3_discovery.commons_name": {
"chartType": "fullPie",
"title": "Platform"
},
Expand All @@ -25,7 +25,7 @@
"gen3_discovery.BodyPartExamined",
"gen3_discovery.primary_site",
"gen3_discovery.disease_type",
"gen3_discovery.commons"
"gen3_discovery.commons_name"
]
}
]
Expand All @@ -43,8 +43,10 @@
"gen3_discovery.BodyPartExamined",
"gen3_discovery.primary_site",
"gen3_discovery.disease_type",
"gen3_discovery.commons",
"gen3_discovery.commons_name",
"gen3_discovery.collection_id",
"gen3_discovery.data_url_doi",
"gen3_discovery.license",
"gen3_discovery.SeriesInstanceUID",
"gen3_discovery.SeriesDescription"
],
Expand Down Expand Up @@ -72,17 +74,17 @@
"gen3_discovery.SeriesInstanceUID": {
"title": "Series Images"
},
"gen3_discovery.commons": {
"gen3_discovery.commons_name": {
"title": "Platform",
"type": "link",
"cellRenderFunction": "linkWithValueMap",
"params": {
"valueToURL": {
"ACRdart": "https://dart.acr.org/Home/ImagingHub",
"IDC": "https://portal.imaging.datacommons.cancer.gov/explore/",
"MIDRC": "https://data.midrc.org",
"Stanford AIMI": "https://stanfordaimi.azurewebsites.net/",
"DART": "https://dart.acr.org/",
"ACRdart": "https://dart.acr.org/Home/ImagingHub"
"TCIA": "https://www.cancerimagingarchive.net/"
}
}
},
Expand Down Expand Up @@ -120,19 +122,27 @@
"name": "Disease Type"
},
{
"field": "gen3_discovery.commons",
"field": "gen3_discovery.commons_name",
"name": "Platform"
},
{
"field": "gen3_discovery.license",
"name": "License"
},
{
"field": "gen3_discovery.data_url_doi",
"name": "DOI"
},
{
"field": "gen3_discovery.collection_id",
"name": "Collection ID"
}
],
"manifestMapping": {
"resourceIndexType": "metadata",
"resourceIdField": "gen3_discovery.StudyInstanceUID",
"referenceIdFieldInResourceIndex": "StudyInstanceUID",
"referenceIdFieldInDataIndex": "StudyInstanceUID"
"resourceIdField": "gen3_discovery.SeriesInstanceUID",
"referenceIdFieldInResourceIndex": "SeriesInstanceUID",
"referenceIdFieldInDataIndex": "SeriesInstanceUID"
},
"accessibleFieldCheckList": ["authz"],
"accessibleValidationField": "gen3_discovery.authz"
Expand All @@ -153,7 +163,7 @@
"rightIcon": "download",
"action": "data-json",
"actionArgs": {
"filename": "MIDRC_Series_table.json",
"filename": "MIDRC_BIH_Imaging_Series_table.json",
"rootPath": "gen3_discovery"
}
},
Expand All @@ -165,7 +175,7 @@
"rightIcon": "download",
"action": "data-csv",
"actionArgs": {
"filename": "MIDRC_Series_table.csv",
"filename": "MIDRC_BIH_Imaging_Series_table.csv",
"rootPath": "gen3_discovery"
}
}
Expand Down
30 changes: 19 additions & 11 deletions config/bih/gitops.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,42 @@
"graphql": {
"boardCounts": [
{
"graphql": "_study_count",
"name": "Study",
"plural": "Studies"
"graphql": "_dataset_count",
"name": "Dataset",
"plural": "Datasets"
},
{
"graphql": "_subject_count",
"name": "Subject",
"plural": "Subjects"
},
{
"graphql": "_sample_count",
"name": "Sample",
"plural": "Samples"
"graphql": "_imaging_study_count",
"name": "Imaging Study",
"plural": "Imaging Studies"
},
{
"graphql": "_imaging_file_count",
"name": "Imaging File",
"plural": "Imaging Files"
"graphql": "_imaging_series_count",
"name": "Imaging Series",
"plural": "Imaging Series"
}
],
"chartCounts": [
{
"graphql": "_dataset_count",
"name": "Dataset"
},
{
"graphql": "_subject_count",
"name": "Subject"
},
{
"graphql": "_imaging_file_count",
"name": "Imaging File"
"graphql": "_imaging_study_count",
"name": "Imaging Study"
},
{
"graphql": "_imaging_series_count",
"name": "Imaging Series"
}
],
"projectDetails": "boardCounts"
Expand Down

0 comments on commit 4eb7a25

Please sign in to comment.