-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1656: Centralize --validation-mode and --skip-val…
…idation
- Loading branch information
Showing
8 changed files
with
406 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Integration tests for augur clades. | ||
|
||
$ source "$TESTDIR"/_setup.sh | ||
|
||
Node-data JSONs produced from a different major version of augur | ||
are not allowed. | ||
|
||
$ ${AUGUR} clades \ | ||
> --tree "$TESTDIR/../data/tree.nwk" \ | ||
> --mutations "$TESTDIR/../data/aa_muts_generated_by.json" \ | ||
> --clades "$TESTDIR/../data/clades.tsv" \ | ||
> --output-node-data clades.json | ||
ERROR: Augur version incompatibility detected: the JSON .*aa_muts_generated_by\.json.* was generated by \{'program': 'augur', 'version': '21.1.0'\}, which is incompatible with the current augur version \([.0-9]+\). We suggest you rerun the pipeline using the current version of augur. (re) | ||
[2] | ||
|
||
Skipping validation allows mismatched augur versions to be used without error. | ||
|
||
$ ${AUGUR} clades \ | ||
> --tree "$TESTDIR/../data/tree.nwk" \ | ||
> --mutations "$TESTDIR/../data/aa_muts_generated_by.json" \ | ||
> --clades "$TESTDIR/../data/clades.tsv" \ | ||
> --output-node-data clades.json \ | ||
> --skip-validation &>/dev/null |
Oops, something went wrong.