Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Feb 11, 2025
1 parent 398f972 commit b0799eb
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/functional/tree/cram/iqtree-offending-characters.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ Build a tree with offending characters, and ensure characters are not overwritte
> --alignment "$TESTDIR/../data/aligned_offending_characters.fasta" \
> --method iqtree \
> --output tree_raw.nwk \
> --nthreads 1 > /dev/null
"WARNING: Potentially offending character ''' detected in taxon name KX369547.1/Cote_d'Ivore. We recommend replacing offending characters with '_' in the alignment file to avoid issues downstream."
[1]
> --nthreads 1 | head -n 1
WARNING: Potentially offending character "'" detected in taxon name "KX369547.1/Cote_d'Ivore". We recommend replacing offending characters with '_' in the alignment file to avoid issues downstream.

$ cat "$TESTDIR/tree_raw.nwk" | grep -q "Cote_d'Ivore" && echo "Substring found"
Substring found
$ cat "tree_raw.nwk" | grep -q "Cote_d'Ivore" && echo "Substring found"
Substring found

$ cat "$TESTDIR/tree_raw.nwk" | grep -q "United-Arab-Emirates" && echo "Substring found"
Substring found
$ cat "tree_raw.nwk" | grep -q "United-Arab-Emirates" && echo "Substring found"
Substring found

0 comments on commit b0799eb

Please sign in to comment.