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

Caught one more exception.

Could happen with columns containing only zero counts.
parent 61f0729b
No related branches found
No related tags found
No related merge requests found
......@@ -42,4 +42,4 @@
url = git@gitlab.pasteur.fr:bli/gtf2attr.git
[submodule "libbamutils"]
path = libbamutils
url = https://gitlab.pasteur.fr/bli/libbamutils.git
url = git@gitlab.pasteur.fr:bli/libbamutils.git
......@@ -1678,6 +1678,11 @@ rule test_size_factor:
"Got ValueError:", f"{str(e)}",
f"Data cannot be plotted for {normalizer}",
f"{data}\n"]))
elif str(e) == "array must not contain infs or NaNs":
warn("\n".join([
"Got ValueError:", f"{str(e)}",
f"Data cannot be plotted for {normalizer}",
f"{data}\n"]))
else:
raise
# xlabel = "log10(normalized counts)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment