mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 05:18:11 +08:00
[WIP] JS lint and dead code removal (#1053)
* lint and dead code removal * fix regressions
This commit is contained in:
@@ -138,7 +138,7 @@ export function allHaveLabelByMask(df, colName, label, mask) {
|
||||
const col = df.col(colName);
|
||||
if (!col) return false;
|
||||
if (df.length !== mask.length)
|
||||
throw new InternalError("mismatch on mask length");
|
||||
throw new RangeError("mismatch on mask length");
|
||||
|
||||
for (let i = 0; i < df.length; i += 1) {
|
||||
if (mask[i]) {
|
||||
|
||||
Reference in New Issue
Block a user