Skip to content

Commit

Permalink
Add configuration to disable study tags (#10637) (#10640)
Browse files Browse the repository at this point in the history
Co-authored-by: alisman <[email protected]>
  • Loading branch information
JREastonMarks and alisman authored Feb 16, 2024
1 parent d9a96f7 commit 7aa6afa
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -789,4 +789,12 @@ By default, the studies loaded into a local cBioPortal instance are organized ba
```
priority_studies=
```
The value of this variable will create a custom category with studies on the top of the study selector view. The format for the string should be category1#study1a,study1b,study1c;category2#study2 (e.g., PanCancer Studies#msk_impact_2017), where the ``category`` can be any string and the ``study`` should be the study ID of the required uploaded study.
The value of this variable will create a custom category with studies on the top of the study selector view. The format for the string should be category1#study1a,study1b,study1c;category2#study2 (e.g., PanCancer Studies#msk_impact_2017), where the ``category`` can be any string and the ``study`` should be the study ID of the required uploaded study.

## Study Tag functionality
Study Tags allow portal maintainers to define miscellaneous descriptive meta data to studies, which will be shown to users in tooltips and are also searchable. This feature
is on by default but can be disabled using the following property.
```
//boolean
enable_study_tags=true|false
```
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,17 @@ public enum FrontendProperty {
skin_patient_view_copy_number_table_columns_show_on_init("skin.patient_view.copy_number_table.columns.show_on_init", null),
skin_patient_view_structural_variant_table_columns_show_on_init("skin.patient_view.structural_variant_table.columns.show_on_init", null),
skin_results_view_tables_default_sort_column("skin.results_view.tables.default_sort_column", null),

skin_patient_view_tables_default_sort_column("skin.patient_view.tables.default_sort_column", null),
enable_treatment_groups("enable_treatment_groups", null),
comparison_categorical_na_values("comparison.categorical_na_values", null),
clinical_attribute_product_limit("clinical_attribute_product_limit", null),
skin_right_nav_show_web_tours("skin.right_nav.show_web_tours", "false"),


enable_study_tags("enable_study_tags", null),
enable_darwin("enable_darwin", null);


private final String propertyName;
private final String defaultValue;

Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/application.properties.EXAMPLE
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,8 @@ server.max-http-request-header-size=16384
# Development Configuration
spring.devtools.restart.enabled=false

## Study Tag functionality
#enable_study_tags=true|false

# EOL - Do not delete the following lines

0 comments on commit 7aa6afa

Please sign in to comment.