mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-26 10:58:12 +08:00
correctly handle float columns which only contain NaN (#848)
This commit is contained in:
@@ -71,7 +71,10 @@ class Continuous extends React.Component {
|
||||
|
||||
const summary = obsAnnotations.col(key).summarize();
|
||||
const nonFiniteExtent =
|
||||
summary.min === undefined || summary.max === undefined;
|
||||
summary.min === undefined ||
|
||||
summary.max === undefined ||
|
||||
Number.isNaN(summary.min) ||
|
||||
Number.isNaN(summary.max);
|
||||
if (!summary.categorical && !nonFiniteExtent) {
|
||||
zebra += 1;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user