From ae6be46d9e9a1ac7ce9c8e0e82543f2e52c48414 Mon Sep 17 00:00:00 2001 From: "Anna (Anya) Parker" <50943381+anna-parker@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:30:05 +0100 Subject: [PATCH] update tests --- tests/functional/tree/cram/iqtree-offending-characters.t | 4 ++-- tests/functional/tree/data/aligned_offending_characters.fasta | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functional/tree/cram/iqtree-offending-characters.t b/tests/functional/tree/cram/iqtree-offending-characters.t index 46a9c8e2c..f9f5e9535 100644 --- a/tests/functional/tree/cram/iqtree-offending-characters.t +++ b/tests/functional/tree/cram/iqtree-offending-characters.t @@ -11,8 +11,8 @@ Build a tree with offending characters, and ensure characters are not overwritte > --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 "tree_raw.nwk" | grep -q "Cote_d'Ivore" && echo "Substring found" + $ cat "tree_raw.nwk" | grep -q "'KX369547.1/Cote_d''Ivore'" && echo "Substring found" Substring found - $ cat "tree_raw.nwk" | grep -q "United-Arab-Emirates" && echo "Substring found" + $ cat "tree_raw.nwk" | grep -q "1_0181_PF/@United-Arab-Emirates" && echo "Substring found" Substring found \ No newline at end of file diff --git a/tests/functional/tree/data/aligned_offending_characters.fasta b/tests/functional/tree/data/aligned_offending_characters.fasta index e00719097..b12f4823b 100644 --- a/tests/functional/tree/data/aligned_offending_characters.fasta +++ b/tests/functional/tree/data/aligned_offending_characters.fasta @@ -360,7 +360,7 @@ GATGGGAAAAGAAGGTGGCGACCTTCCCCACCCTTCAATCTGGGGCCTGAACTGGAGATC AGCTGTGGATNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN NNNNNNNNNNNNNNNNNNNNNNNNNNNNN ->1_0181_PF/United-Arab-Emirates +>1_0181_PF/@United-Arab-Emirates NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNAGTATCAACAGGTTTT ATTTGGATTTGGAAACGAGAGTTTCTGGTCATGAAAAACCCAAAAAAGAAATCCGGAGGA TTCCGGATTGTCAATATGCTAAAACGCGGAGTAGCCCGTGTGAGCCCCTTTGGGGGCTTG