Skip to content
Snippets Groups Projects
Commit 27e84e63 authored by Blaise Li's avatar Blaise Li
Browse files

Fix warning.

parent b9cbedec
Branches
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment