Commit fddb5aa7 authored by Thonier Florian's avatar Thonier Florian

fuse.py; concat distribution at addition

link to #3902
parent cf3749d3
Pipeline #81648 failed with stages
in 5 seconds
......@@ -456,6 +456,11 @@ class ListWindows(VidjilJson):
obj.d["samples"] = self.d["samples"] + other.d["samples"]
obj.d["reads"] = self.d["reads"] + other.d["reads"]
obj.d["diversity"] = self.d["diversity"] + other.d["diversity"]
obj.d["distribution"] = {}
for filename in self.d["distribution"].keys():
obj.d["distribution"][filename] = self.d["distribution"][filename]
for filename in other.d["distribution"].keys():
obj.d["distribution"][filename] = other.d["distribution"][filename]
return obj
......
Markdown is supported
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