Skip to content

Commit

Permalink
bivariate filter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed May 2, 2024
1 parent ee0ce2a commit cd558c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/data/service/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export class DataService {
// eg quartiles = 0.25, 0.5, 0.75
// for use less than value is that quantile
const breaks = await Promise.all(
table.map((t, i) => this.getQuantiles(cleanColumns[i]!, t, 3, idColumn[i]!, filter?.[i]))
table.map((t, i) => this.getQuantiles(cleanColumns[i]!, t, 3, idColumn[i]!, filter))
)
let query = `SELECT t0.${idColumn[0]}, `
query += `${this.getQuantileCaseClause(`t0.${cleanColumns[0]}`, breaks![0]!, "q0")}, `
Expand Down

0 comments on commit cd558c4

Please sign in to comment.