Skip to content

Commit

Permalink
opencgaClinicalAnalysisViewSettings added #236
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioaltamura committed Jul 14, 2021
1 parent 4d5fd13 commit cb39d76
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
13 changes: 10 additions & 3 deletions src/conf/opencga-clinical-analysis-view.settings.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
const OpencgaClinicalAnalysisViewSettings = {
// GEL settings hiddenFields: ["type", "flags", "status.name", "description", "priority", "analyst.assignee", "creationDate", "dueDate", "pedigree"]
}
const opencgaClinicalAnalysisViewSettings = {
// merge criterium: uses this array as filter for internal 1D array. Same as settings.table.columns in `clinical-review-cases.settings`.
/** clinical-analysis-view settings
* works either with:
* - `fields` an explicit list of ids. In this case each field in DataForm needs an id.
* - `hiddenFields` a list of fields to exclude
*/
// GEL settings
hiddenFields: ["type", "flags", "status.name", "description", "priority", "analyst.assignee", "creationDate", "dueDate", "pedigree"]
};
10 changes: 0 additions & 10 deletions src/conf/opencga-clinical-review-cases.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,4 @@ const OpencgaClinicalReviewCasesSettings = {
columns: ["caseId", "probandId", "familyId", "disorderId", "interpretation", "action"]
},
// TODO details tabs are not configurable at the moment
// merge criterium: uses this array as filter for internal 1D array. Same as settings.table.columns.
/** clinical-analysis-view settings
* works either with:
* - `fields` an explicit list of ids. In this case each field in DataForm needs an id.
* - `hiddenFields` a list of fields to exclude
*/
view: {
// fields: ["type"],
hiddenFields: ["type", "flags", "status.name", "description", "priority", "analyst.assignee", "creationDate", "dueDate", "pedigree"]
}
};
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
<script defer src="conf/opencga-sample-browser.config.js"></script>
<script defer src="conf/opencga-clinical-review-cases.settings.js"></script>
<script defer src="conf/variant-interpreter.settings.js"></script>
<script defer src="conf/variant-interpreter-qc-overview.settings.js"></script>
<script defer src="conf/variant-interpreter-browser-rd.settings.js"></script>
<script defer src="conf/variant-interpreter-browser-cancer.settings.js"></script>
<script defer src="conf/opencga-variant-browser.settings.js"></script>
Expand Down

0 comments on commit cb39d76

Please sign in to comment.