Skip to content

Commit

Permalink
delete console log
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhou82 committed Jul 26, 2024
1 parent 2864d01 commit aea4a05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/src/termdb.matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ export async function mayInitiateMatrixplots(ds) {
async function findListOfBins(q, tw, ds) {
// for non-dict terms which may lack tw.term.bins
if (tw.q.type == 'custom-bin') {
console.log(888, 'has')
if (Array.isArray(tw.q.lst)) return tw.q.lst
throw 'q.type is custom-bin but q.lst is missing' // when mode is custom bin, q.lst must always be present
}
Expand All @@ -592,7 +591,6 @@ async function findListOfBins(q, tw, ds) {
should be true for both q.type=regular-bin or q.type=custom-bin
*/
// term lacks bins. compute it on the fly. expensive step and not supposed to happen?
console.log(999, 'compute bins')
await new Promise(async (resolve, reject) => {
const _q = {
tw,
Expand Down

0 comments on commit aea4a05

Please sign in to comment.