Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defer loading of genes for plots tab till tab is shown #5008

Open
wants to merge 40 commits into
base: clickhouse
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4901c09
add clickhouse mode
alisman Jun 29, 2023
25db97b
trigger precommit hooks (#4926)
uklineale Jun 18, 2024
5084fff
add new endpoints and use subdomain
alisman Jun 24, 2024
5033e09
conditionally point clickhouse at secondary subdomain of beta
alisman Jun 25, 2024
cba5de7
Add clickhouse endpoint validation tool
alisman Jul 15, 2024
42d7143
Adjust patient treatments
alisman Aug 1, 2024
8c6baf1
Add Sample Treatments endpoint
haynescd Aug 6, 2024
888c586
Merge pull request #4956 from alisman/clickhousePatient
haynescd Aug 6, 2024
2a74c4e
add stuff
alisman Aug 13, 2024
6e3ec5a
Improve validation
alisman Aug 13, 2024
3ec5d87
Improve validation and use CH endpoints on all
alisman Aug 14, 2024
9d8cee8
Fix sorting and improve console report
alisman Aug 15, 2024
9183de0
Clickhouse tests (#4970)
alisman Aug 22, 2024
01d5883
Clickhouse fix (#4971)
alisman Aug 22, 2024
69dde84
fix test maker filterUrl (#4972)
alisman Aug 22, 2024
8e59189
more fixes for test maker (#4973)
alisman Aug 22, 2024
b94ce4d
Clickhouse test generation fix (#4975)
alisman Aug 22, 2024
44aef62
Fix show/hide button
alisman Aug 22, 2024
00a695d
Add stop listening button
alisman Aug 22, 2024
2c97c4c
Improve validator logging
alisman Aug 23, 2024
fea9806
add specs for clinical data filters (#4979)
onursumer Aug 23, 2024
d524c2c
Adding tests for genomic data bin counts filters and generic assay da…
dippindots Aug 23, 2024
281a44c
Add tests for sample lists counts and custom data filters (#4981)
gblaih Aug 27, 2024
ea123f5
test spec (#4978)
fuzhaoyuan Aug 28, 2024
643d153
Clickhouse (#4993)
alisman Sep 6, 2024
074cbaa
Enhance grouping of api test logging
alisman Sep 6, 2024
cecc3a1
Remove errant log
alisman Sep 6, 2024
0960351
Remove errant log
alisman Sep 6, 2024
6fca9f4
Fix loading of test json
alisman Sep 6, 2024
795ceb8
Update watchTests script to use env var for cbio path
haynescd Sep 6, 2024
1b50de4
introduce delete fields mechanism to overcome non-important validatio…
alisman Sep 11, 2024
1775e66
add caselist list delete field
alisman Sep 11, 2024
34ac9df
Uncomment validation
alisman Sep 13, 2024
5a93252
Improvements to clickhouse validation (#5001)
alisman Sep 17, 2024
4a71a05
Add genomic data endpoints
alisman Sep 17, 2024
93cb333
Add support to test new Treatment Endpoints (#5002)
haynescd Sep 17, 2024
8d56559
force sort of object keys to make test pass
alisman Sep 18, 2024
6b95f15
remove clinical data tab
alisman Sep 19, 2024
1d98489
clone data for compare counts
alisman Sep 20, 2024
a0fb907
Add plots tab wrapper to defer loading of genes data till plots tab i…
alisman Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ end-to-end-test/results-0-0..xml
end-to-end-test/customReport.json
end-to-end-test/customReportJSONP.js
end-to-end-test/shared/results
api-e2e/json/merged-tests.json
wdio/browserstack.txt
env/custom.sh
image-compare/errors.js
Expand Down
29 changes: 29 additions & 0 deletions api-e2e/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
const fs = require('fs/promises');
const watch = require('fs').watch;
const path = require('path');

watch('./apiTests/specs', async function(event, filename) {
if (event === 'change') {
const files = (await fs.readdir('./apiTests/specs')).map(fileName => {
return path.join('./apiTests/specs', fileName);
});

const jsons = files.map(path => {
return fs.readFile(path).then(data => {
try {
const json = JSON.parse(data);
return { file: path, suites: json };
} catch (ex) {
console.log('invalid apiTest json spec');
return [];
}
});
});

Promise.all(jsons)
.then(d => {
fs.writeFile('./apiTests/merged-tests.json', JSON.stringify(d));
})
.then(r => console.log('merged-tests.json written'));
}
});
Empty file added api-e2e/json/nothing.json
Empty file.
28 changes: 28 additions & 0 deletions api-e2e/mergeJson.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const fsProm = require('fs/promises');
const path = require('path');

async function mergeApiTestJson() {
const files = (await fsProm.readdir('./apiTests/specs')).map(fileName => {
return path.join('./apiTests/specs', fileName);
});

const jsons = files.map(path => {
return fsProm.readFile(path).then(data => {
try {
const json = JSON.parse(data);
return { file: path, suites: json };
} catch (ex) {
console.log('invalid apiTest json spec');
return [];
}
});
});

Promise.all(jsons)
.then(d => {
fsProm.writeFile('./apiTests/merged-tests.json', JSON.stringify(d));
})
.then(r => console.log('merged-tests.json written'));
}

exports.mergeApiTestJson = mergeApiTestJson;
1 change: 1 addition & 0 deletions api-e2e/merged-tests.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Loading
Loading