Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration to disable study tags #10637

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Loading