Skip to content

Commit 481d680

Browse files
committed
Prepare null plugin for histogram
1 parent 4abd19d commit 481d680

6 files changed

Lines changed: 104 additions & 16 deletions

File tree

package-lock.json

Lines changed: 75 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import Grapher from '../../grapher';
2+
3+
class Graph {
4+
static canCollapse() {
5+
return false;
6+
}
7+
8+
static name() {
9+
return null;
10+
}
11+
12+
static className() {
13+
return null;
14+
}
15+
16+
static dataName(_props) {
17+
return null;
18+
}
19+
}
20+
21+
export default Grapher(Graph);

public/js/null_plugins/report_plugins.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
class ReportPlugins {
32
constructor(parent) {
43
this.parent = parent;
@@ -13,6 +12,9 @@ class ReportPlugins {
1312
queryResults(_query) {
1413
return [];
1514
}
15+
16+
generateStats() {
17+
}
1618
}
1719

18-
export default ReportPlugins;
20+
export default ReportPlugins;

public/js/report.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ class Report extends Component {
300300
<div className="col-md-9">
301301
{this.overviewJSX()}
302302
{this.circosJSX()}
303+
{this.plugins.generateStats()}
303304
{this.state.results}
304305
</div>
305306
</div>

public/sequenceserver-report.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ module.exports = (env, argv) => {
4747
'download_links': path.resolve(__dirname, pluginsPath, 'download_links.js'),
4848
'hit_buttons': path.resolve(__dirname, pluginsPath, 'hit_buttons.js'),
4949
'search_header_plugin': path.resolve(__dirname, pluginsPath, 'search_header_plugin.js'),
50+
'histogram': path.resolve(__dirname, pluginsPath, 'grapher', 'histogram.js'),
5051
}
5152
}
5253
};

0 commit comments

Comments
 (0)