Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
breck7 committed Aug 6, 2024
1 parent 3cecafe commit 30795bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"homepage": "https://cancerdb.com",
"devDependencies": {
"lodash": "^4.17.21",
"scroll-cli": "^115.1.0",
"scroll-cli": "^117.1.0",
"scrollsdk": "^80.0.0"
}
}
8 changes: 4 additions & 4 deletions pages/explore.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ replaceNodejs
.orderBy(['measurements'], ['desc'])
.map(row => lodash.pick(row, "id measurements type tissue mainType wikipedia website country description appeared twitter".split(" ")))
.value()
const header = lodash.keys(data[0]).join('\t');
const rows = lodash.map(data, row => lodash.values(row).join('\t'));
const tsv = [header, ...rows].join('\n ');
module.exports = {ALL : 'tabTable\n ' + tsv}
const header = lodash.keys(data[0]).join(',');
const rows = lodash.map(data, row => lodash.values(row).join(','));
const csv = [header, ...rows].join('\n ');
module.exports = {ALL : 'table\n printTable\n delimiter ,\n data\n ' + csv}
title Explore CancerDB

import header.scroll
Expand Down

0 comments on commit 30795bb

Please sign in to comment.