Commit c24bba9c authored by Thonier Florian's avatar Thonier Florian

tools/test; add test on computing distribution at fuse call

link to #3902
parent 35e043cb
Pipeline #83176 failed with stages
in 6 seconds
### Without distributions computing
python3 ../../fuse.py ../../../algo/tests/data/results-two-clones-1-2.vidjil ../../../algo/tests/data/results-two-clones-1-3.vidjil; cat fused.vidjil
$ Get correct file name in original_names field
1:"/some/file_1"
1:"/some/file_2"
$ should not have distribution if not asked
0:distributions
$ categories should be present one time ... ; even if no vidjil file already have it
1:categories
$ ... with empty content (2 for categories +1 for germlines)
3:{}
### With distributions computing
rm fused.vidjil
python3 ../../fuse.py -d ../../../algo/tests/data/results-two-clones-1-2.vidjil ../../../algo/tests/data/results-two-clones-1-3.vidjil; cat fused.vidjil
$ Get correct file name in original_names field and distributions
2:"/some/file_1"
2:"/some/file_2"
$ should not have distribution if not asked
1:distributions
$ categories should be present 2 times; in vidjil top level, and in distribution["categories"]
2:categories
$ Axes title should be present 62 times (2*31)
62:rearangment
\ No newline at end of file
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