Skip to content

Commit

Permalink
Ignore path to annotations in JSON output for test
Browse files Browse the repository at this point in the history
Ignores the path to GFF/GenBank annotations in the JSON output for an
augur ancestral functional test. This path will vary across platforms
based on the working directory used.
  • Loading branch information
huddlej committed Aug 3, 2023
1 parent e32d2de commit 0b1c44a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ ancestor).

Check that the reference length was correctly exported as the nuc annotation

$ python3 "$TESTDIR/../../../../scripts/diff_jsons.py" "$TESTDIR/../data/ancestral_mutations_with_root_sequence.json" "$CRAMTMP/$TESTFILE/ancestral_mutations.json"
$ python3 "$TESTDIR/../../../../scripts/diff_jsons.py" \
> --exclude-regex-paths "['seqid']" -- \
> "$TESTDIR/../data/ancestral_mutations_with_root_sequence.json" \
> "$CRAMTMP/$TESTFILE/ancestral_mutations.json"
{}

0 comments on commit 0b1c44a

Please sign in to comment.