diff --git a/lib/jsorolla b/lib/jsorolla index 111ce46c6..54fcbe2cc 160000 --- a/lib/jsorolla +++ b/lib/jsorolla @@ -1 +1 @@ -Subproject commit 111ce46c66e157eb25469b7730b8243306e78cf8 +Subproject commit 54fcbe2cc8b1e625fb1fca754dcae28a5d0f0c42 diff --git a/src/conf/tools.js b/src/conf/tools.js index 044bd0b1a..6e04776d2 100644 --- a/src/conf/tools.js +++ b/src/conf/tools.js @@ -24,13 +24,33 @@ const filterMenu = { }, skipSubsections: [], // controls which subsections are disabled and should not be displayed sections: [ // sections and subsections, structure and order is respected + // { + // title: "Clinical Interpretation", + // collapsed: false, + // subsections: [ + // { + // id: "sample", + // title: "Sample and File Filters", + // showApproximateCount: true, + // showSelectSamples: true, + // inheritanceModes: [ + // {key: "none", text: "Select..."}, + // {key: "autoDominant", text: "Autosomal Dominant"}, + // {key: "autoRecessive", text: "Autosomal Recessive"}, + // {key: "xLinked", text: "X linked"}, + // {key: "yLinked", text: "Y linked"} + // ], + // tooltip: "Filter by sample genotypes" + // } + // ] + // }, { title: "Study and Cohorts", collapsed: false, subsections: [ { id: "sample", - title: "Samples", + title: "Sample and File Filters", showApproximateCount: true, showSelectSamples: true, inheritanceModes: [ @@ -214,6 +234,18 @@ const filterMenu = { ] }; +// Prepare Browser and Interpretation filter menu +// let browserFilterMenu = Object.assign(filterMenu); +// let browserFilterMenuSections = filterMenu.sections.slice(0); +// browserFilterMenuSections.splice(0, 1); +// browserFilterMenu.sections = browserFilterMenuSections; +// debugger +// +// let interpretationFilterMenu = Object.assign(filterMenu); +// let interpretationFilterMenuSections = filterMenu.sections.slice(0); +// interpretationFilterMenuSections.splice(1, 1); +// interpretationFilterMenu.sections = interpretationFilterMenuSections; + const tools = { browser: { title: "Variant Browser", diff --git a/src/iva-app.html b/src/iva-app.html index ade3e62ea..cbca6933d 100644 --- a/src/iva-app.html +++ b/src/iva-app.html @@ -195,7 +195,7 @@ - + @@ -276,6 +276,7 @@