Skip to content

Commit

Permalink
fix the handling of combined cohort sample counts
Browse files Browse the repository at this point in the history
  • Loading branch information
siosonel committed Dec 23, 2024
1 parent e322b12 commit 1ac2da2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/mass/about.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ export class MassAbout {
if (!result.cfeatures.length) return
for (const feature of result.features) rows.push([{ value: feature.name }])
for (const cohort of result.cohorts) {
if (cohort.subcohorts?.length) continue
columns.push({ label: cohort.name })
for (const [i, feature] of result.features.entries()) {
const cf = result.cfeatures.find(cf => cf.idfeature === feature.idfeature && cf.cohort === cohort.cohort)
Expand Down
Binary file modified server/test/tp/files/hg38/TermdbTest/db
Binary file not shown.

0 comments on commit 1ac2da2

Please sign in to comment.