From 75c797609d1c18d5896cc5f991f219ef4da39eb7 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sat, 9 Nov 2024 19:26:51 +0100 Subject: [PATCH] Fix #1665 --- .../cram/infer-amino-acid-sequences-with-root-sequence.t | 2 +- .../translate/cram/translate-with-gff-and-gene-name.t | 2 +- tests/functional/translate/cram/translate-with-gff-and-gene.t | 2 +- .../translate/cram/translate-with-gff-and-locus-tag.t | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/ancestral/cram/infer-amino-acid-sequences-with-root-sequence.t b/tests/functional/ancestral/cram/infer-amino-acid-sequences-with-root-sequence.t index 0d61ca296..aa60db892 100644 --- a/tests/functional/ancestral/cram/infer-amino-acid-sequences-with-root-sequence.t +++ b/tests/functional/ancestral/cram/infer-amino-acid-sequences-with-root-sequence.t @@ -20,7 +20,7 @@ ancestor). Check that the reference length was correctly exported as the nuc annotation $ python3 "$TESTDIR/../../../../scripts/diff_jsons.py" \ - > --exclude-regex-paths "['seqid']" -- \ + > --exclude-regex-paths "\['seqid'\]" -- \ > "$TESTDIR/../data/ancestral_mutations_with_root_sequence.json" \ > "$CRAMTMP/$TESTFILE/ancestral_mutations.json" {} diff --git a/tests/functional/translate/cram/translate-with-gff-and-gene-name.t b/tests/functional/translate/cram/translate-with-gff-and-gene-name.t index 9bb18ded7..06d8fe6a7 100644 --- a/tests/functional/translate/cram/translate-with-gff-and-gene-name.t +++ b/tests/functional/translate/cram/translate-with-gff-and-gene-name.t @@ -26,7 +26,7 @@ Other than the sequence ids which will include a temporary path, the JSONs should be identical. $ python3 "${SCRIPTS}/diff_jsons.py" \ - > --exclude-regex-paths "['seqid']" -- \ + > --exclude-regex-paths "\['seqid'\]" -- \ > "${DATA}/zika/aa_muts_gff.json" \ > aa_muts.json {} diff --git a/tests/functional/translate/cram/translate-with-gff-and-gene.t b/tests/functional/translate/cram/translate-with-gff-and-gene.t index 33ef6a3b3..5c8bbb4d3 100644 --- a/tests/functional/translate/cram/translate-with-gff-and-gene.t +++ b/tests/functional/translate/cram/translate-with-gff-and-gene.t @@ -23,7 +23,7 @@ Translate amino acids for genes using a GFF3 file where the gene names are store amino acid mutations written to .* (re) $ python3 "${SCRIPTS}/diff_jsons.py" \ - > --exclude-regex-paths "['seqid']" -- \ + > --exclude-regex-paths "\['seqid'\]" -- \ > "${DATA}/zika/aa_muts_gff.json" \ > aa_muts.json {} diff --git a/tests/functional/translate/cram/translate-with-gff-and-locus-tag.t b/tests/functional/translate/cram/translate-with-gff-and-locus-tag.t index 54ffde7a8..d4871ee07 100644 --- a/tests/functional/translate/cram/translate-with-gff-and-locus-tag.t +++ b/tests/functional/translate/cram/translate-with-gff-and-locus-tag.t @@ -23,7 +23,7 @@ This is an identical test setup as `translate-with-gff-and-gene.t` but using loc amino acid mutations written to .* (re) $ python3 "${SCRIPTS}/diff_jsons.py" \ - > --exclude-regex-paths "['seqid']" -- \ + > --exclude-regex-paths "\['seqid'\]" -- \ > "${DATA}/zika/aa_muts_gff.json" \ > aa_muts.json {}