Commit 27e84e63 authored by Blaise Li's avatar Blaise Li
Browse files

Fix warning.

parent b9cbedec
......@@ -1638,7 +1638,7 @@ rule test_size_factor:
by_norm = counts_data / size_factors
data = np.log10(by_norm[counts_data.prod(axis=1) > 0])
if np.isfinite(data).any().any():
warn("Data contains invalid values:", str(data))
warn(f"Data contains invalid values: {str(data)}")
try:
xlabel = "log10(normalized counts)"
save_plot(pp, plot_counts_distribution, data, xlabel,
......
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