Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
feat(file): 2170 add workflow facet
Browse files Browse the repository at this point in the history
- rename 'Workflow' table to 'Analysis'
Closes #2170
  • Loading branch information
Christine Yu committed Apr 27, 2016
1 parent b04663c commit d3b3b95
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
12 changes: 6 additions & 6 deletions app/scripts/files/files.controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ module ngApp.files.controllers {
CoreService.setPageTitle("File", file.file_name);

var toDisplayLogic = {
'Raw Sequencing Data': ['workflow', 'referenceGenome', 'readGroup', 'downstreamAnalysis'],
'Transcriptome Profiling': ['workflow', 'referenceGenome', 'downstreamAnalysis'],
'Simple Nucleotide Variation': ['workflow', 'referenceGenome', 'downstreamAnalysis'],
'Copy Number Variation': ['workflow', 'referenceGenome', 'downstreamAnalysis'],
'Structural Rearrangement': ['workflow', 'referenceGenome', 'downstreamAnalysis'],
'DNA Methylation': ['workflow', 'referenceGenome', 'downstreamAnalysis'],
'Raw Sequencing Data': ['analysis', 'referenceGenome', 'readGroup', 'downstreamAnalysis'],
'Transcriptome Profiling': ['analysis', 'referenceGenome', 'downstreamAnalysis'],
'Simple Nucleotide Variation': ['analysis', 'referenceGenome', 'downstreamAnalysis'],
'Copy Number Variation': ['analysis', 'referenceGenome', 'downstreamAnalysis'],
'Structural Rearrangement': ['analysis', 'referenceGenome', 'downstreamAnalysis'],
'DNA Methylation': ['analysis', 'referenceGenome', 'downstreamAnalysis'],
'Clinical': [],
'Biospecimen': []
}
Expand Down
16 changes: 8 additions & 8 deletions app/scripts/files/templates/file.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,21 +166,21 @@ <h4 class="list-group-item-heading">No Cases Found.</h4>
</div>
</section>

<!-- Workflow / Reference Genome Split Row Section -->
<section class="row" id="workflow-split-ref-genome">
<!-- Workflow Table -->
<div class="col-lg-6 col-md-6" data-ng-if="fc.tablesToDisplay.workflow">
<!-- Analysis/ Reference Genome Split Row Section -->
<section class="row" id="analysis-split-ref-genome">
<!-- analysis Table -->
<div class="col-lg-6 col-md-6" data-ng-if="fc.tablesToDisplay.analysis">

<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Workflow</h3>
<h3 class="panel-title">Analysis</h3>
</div>

<div class="panel-body" data-ng-if="!fc.file.analysis">
<h4 class="list-group-item-heading">No Workflow found.</h4>
<h4 class="list-group-item-heading">No Analyses found.</h4>
</div>

<table id="workflow-files-table" class="table table-striped table-hover table-condensed table-bordered"
<table id="-files-table" class="table table-striped table-hover table-condensed table-bordered"
data-ng-if="fc.file.analysis">
<tbody>
<tr>
Expand Down Expand Up @@ -346,7 +346,7 @@ <h4 class="list-group-item-heading">No Downstream Analyses Files Found.</h4>
<th data-translate>Data Category</th>
<th data-translate>Data Type</th>
<th data-translate>Data Format</th>
<th data-translate>Analysis Workflow</th>
<th data-translate>Analysis workflow</th>
<th data-translate>File Size</th>
<th data-translate>Action</th>
</tr>
Expand Down
1 change: 1 addition & 0 deletions app/scripts/search/search.files.table.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ module ngApp.search.models {
{name: "data_category", title: "Data Category", collapsed: false, facetType: "terms", removable: false },
{name: "data_type", title: "Data Type", collapsed: false, facetType: "terms", removable: false },
{name: "experimental_strategy", title: "Experimental Strategy", collapsed: false, facetType: "terms", removable: false },
{name: "analysis.workflow_type", title: "Workflow Type", collapsed: false, facetType: "terms", removable: false },
{name: "data_format", title: "Data Format", collapsed: false, facetType: "terms", removable: false },
{name: "platform", title: "Platform", collapsed: false, facetType: "terms", removable: false },
{name: "access", title: "Access Level", collapsed: false, facetType: "terms", removable: false },
Expand Down

0 comments on commit d3b3b95

Please sign in to comment.