Commit e17aa631 authored by Blaise Li's avatar Blaise Li
Browse files

Fix Boolean comparison.

parent 27c74ee7
......@@ -1637,7 +1637,7 @@ rule test_size_factor:
size_factors = summaries.loc[normalizer]
by_norm = counts_data / size_factors
data = np.log10(by_norm[ > 0])
if not np.isfinite(data):
if np.isfinite(data).any():
warn("Data contains invalid values:", str(data))
xlabel = "log10(normalized counts)"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment