Commit 81192368 authored by Mathieu Giraud's avatar Mathieu Giraud

tools/tests: data are now in 'algo/tests/data'

See !73.
parent b3dd524b
Pipeline #6542 passed with stages
in 22 minutes and 40 seconds
!LAUNCH: python ../diff.py ../../data/results-two-clones-1-2.vidjil ../../data/results-two-clones-1-3.vidjil -c
!LAUNCH: python ../diff.py ../../algo/tests/data/results-two-clones-1-2.vidjil ../../algo/tests/data/results-two-clones-1-3.vidjil -c
$ Clone id-1 is a common clone, with a different number of reads
1:id-1 .* 800 .* 300
......
!LAUNCH: python ../diff.py ../../data/results-two-clones-1-2.vidjil ../../data/results-two-clones-1-3.vidjil
!LAUNCH: python ../diff.py ../../algo/tests/data/results-two-clones-1-2.vidjil ../../algo/tests/data/results-two-clones-1-3.vidjil
$ Clone id-1 has a different number of reads
1:Not the same number or reads: id-1
......
!LAUNCH: python ../fuse.py ../../data/no_clones.vidjil ../../data/results-two-clones-1-2.vidjil -o fused_no_clones.vidjil; cat fused_no_clones.vidjil
!LAUNCH: python ../fuse.py ../../algo/tests/data/no_clones.vidjil ../../algo/tests/data/results-two-clones-1-2.vidjil -o fused_no_clones.vidjil; cat fused_no_clones.vidjil
$ Fuse the three files
2: ListWindows: .0, 1000.
......
!LAUNCH: python ../fuse.py ../../data/results-two-clones-1-2.vidjil ../../data/results-two-clones-1-2.vidjil ../../data/results-two-clones-1-2.vidjil ; cat fused.vidjil
!LAUNCH: python ../fuse.py ../../algo/tests/data/results-two-clones-1-2.vidjil ../../algo/tests/data/results-two-clones-1-2.vidjil ../../algo/tests/data/results-two-clones-1-2.vidjil ; cat fused.vidjil
$ Fuse the three files
2: ListWindows: .1000, 1000, 1000.
......
!LAUNCH: python ../latex.py ../../data/results-two-clones-1-2.vidjil
!LAUNCH: python ../latex.py ../../algo/tests/data/results-two-clones-1-2.vidjil
$ Display the name of the .vidjil file
2: data/results-two-clones-1-2.vidjil
......
!LAUNCH: (cd .. ; python analysis-windows.py -w 40 ../data/analysis-with-windows.analysis ; python analysis-windows.py -w 60 ../data/analysis-with-windows.analysis.new ; ./diff_json.sh ../data/analysis-with-windows.analysis{,.new.new} -s ; cat ../data/analysis-with-windows.analysis.new)
!LAUNCH: (cd .. ; python analysis-windows.py -w 40 ../algo/tests/data/analysis-with-windows.analysis ; python analysis-windows.py -w 60 ../algo/tests/data/analysis-with-windows.analysis.new ; ./diff_json.sh ../algo/tests/data/analysis-with-windows.analysis{,.new.new} -s ; cat ../algo/tests/data/analysis-with-windows.analysis.new)
$ First and last files are identical
1:are identical
......
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