Skip to content

Commit

Permalink
build explore after cancerdb.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Breck Yunits authored and Breck Yunits committed May 10, 2024
1 parent ded0349 commit 8716847
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion header.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stumpNoSnippet
a Concepts
href BASE_URL/list.html
a Explore
href BASE_URL/explore.html
href BASE_URL/pages/explore.html
a Search
href BASE_URL/search.html
a Download
Expand Down
6 changes: 3 additions & 3 deletions explore.scroll → pages/explore.scroll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import rootHeader.scroll
import header.scroll
groups index

<div class="singleColumn">
Expand All @@ -8,7 +8,7 @@ endSnippet

replaceNodejs
const lodash = require("lodash")
const data = lodash.chain(require("./cancerdb.json"))
const data = lodash.chain(require("../cancerdb.json"))
.orderBy(['measurements'], ['desc'])
.map(row => lodash.pick(row, "id measurements type tissue mainType wikipedia website country conceptDescription appeared twitter".split(" ")))
.value()
Expand All @@ -21,5 +21,5 @@ ALL

</div>

import footer.scroll
import ../footer.scroll
tableSearch

0 comments on commit 8716847

Please sign in to comment.