Skip to content

Commit

Permalink
Merge pull request #3067 from vgteam/dict-support
Browse files Browse the repository at this point in the history
Add missing tests from #3063
  • Loading branch information
adamnovak authored Oct 29, 2020
2 parents fac2dd9 + df6cea6 commit a5407ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ before_install:
# inability to link it as an error and fail the command. You can --force a link step, but
# I don't see a way to tell it to not replace things that exist and also not fail.
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew bundle --verbose || true; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --overwrite python@3.8; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --overwrite python@3.9 || brew link --overwrite python@3.8 || true; fi
# Try installing gcc6 twice in case of errors like this:
# Error: HOMEBREW_LOGS was not exported!
# Please don't worry, you likely hit a bug auto-updating from an old version.
Expand Down
1 change: 1 addition & 0 deletions test/small/xy.dict
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@HD VN:1.5 SO:unknown
@SQ SN:x LN:1001
@SQ SN:y LN:1001
1 change: 1 addition & 0 deletions test/small/yx.dict
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@HD VN:1.5 SO:unknown
@SQ SN:y LN:1001
@SQ SN:x LN:1001
4 changes: 2 additions & 2 deletions test/t/50_vg_giraffe.t
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ rm -f x.vg x.gbwt x.gg x.snarls x.min x.dist x.gg x.fa x.fa.fai x.vcf.gz x.vcf.g
cp small/xy.fa .
cp small/xy.vcf.gz .
cp small/xy.vcf.gz.tbi .
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/yx.dict | grep "@SQ" > surjected-yx.dict
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/xy.dict | grep "@SQ" > surjected-xy.dict
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/yx.dict | grep -E "^@(SQ|HD)" > surjected-yx.dict
vg giraffe xy.fa xy.vcf.gz -f small/x.fa_1.fastq -o SAM --ref-paths small/xy.dict | grep -E "^@(SQ|HD)" > surjected-xy.dict

diff surjected-yx.dict small/yx.dict
is "${?}" "0" "surjecting with a sequence dictionary in non-sorted order produces headers in non-sorted order"
Expand Down

1 comment on commit a5407ea

@adamnovak
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for merge to master. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 14447 seconds

Please sign in to comment.