Commit bafa41bb authored by Thonier Florian's avatar Thonier Florian

fuse.py; ordered the exported files of distributions

Link to #3944
parent 97fe8d94
......@@ -911,7 +911,7 @@ class ListWindows(VidjilJson):
def save_distributions(self, foname):
# Compute aggreg just before export
fo = open(foname, "w")
json.dump(self.d["distributions"], fo, indent=2)
json.dump(self.d["distributions"], fo, indent=2, sort_keys=True)
fo.close()
return
......
......@@ -49,7 +49,8 @@ $ EAch filename should appear 1 times (1 for repname)
1:"/some/file_2"
$ Case of an entire result (axes: germline, seg5)
lr1:{ "axes": \[ "germline", "seg5" \], "values": { "IGK": { "IGKV1-39\*01": \[ 1, 5653 \], "IGKV3-20\*01": \[ 1, 3898 \], "IGKV1-33\*01": \[ 1, 2597 \], "IGKV4-1\*01": \[ 1, 2520 \], "IGKV3-15\*01": \[ 1, 2502 \] } } },
lr1:{ "axes": \[ "germline", "seg5" \], "values": { "IGK": { "IGKV1-33\*01": \[ 1, 2597 \], "IGKV1-39\*01": \[ 1, 5653 \], "IGKV3-15\*01": \[ 1, 2502 \], "IGKV3-20\*01": \[ 1, 3898 \], "IGKV4-1\*01": \[ 1, 2520 \] } } },
$ Case for the two other files (axes: germline, seg5)
lr1:{ "axes": \[ "germline", "seg5" \], "values": { "IGH": { "\?": \[ 2, 900 \] } } },
......
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