Skip to content

Commit

Permalink
Align data for ancestral and translate tests
Browse files Browse the repository at this point in the history
Updates data for augur translate functional tests to match the updated
test data for the ancestral command.
  • Loading branch information
huddlej committed Dec 18, 2024
1 parent 8c11ec9 commit 01b1482
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/functional/translate/cram/root-mutations.t
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ is unchanged (MPCG*). There is also a mutation E4G at the root node to compensat
> "$DATA/aa_muts.json" \
> "aa_muts.json" \
> --exclude-regex-paths "root\['annotations'\]\['.+'\]\['seqid'\]" "root['meta']['updated']"
{'values_changed': {"root['reference']['gene1']": {'new_value': 'MPCE*', 'old_value': 'MPCG*'}}, 'iterable_item_added': {"root['nodes']['node_root']['aa_muts']['gene1'][0]": 'E4G'}}
{'values_changed': {"root['reference']['gene1']": {'new_value': 'MPCE*', 'old_value': 'MPCG*'}}, 'iterable_item_added': {"root['nodes']['node_root']['aa_muts']['gene1'][1]": 'E4G'}}
16 changes: 9 additions & 7 deletions tests/functional/translate/data/simple-genome/aa_muts.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@
"nodes": {
"node_AB": {
"aa_muts": {
"gene1": [
"P2L"
],
"gene1": [],
"gene2": [
"V2D"
]
}
},
"node_root": {
"aa_muts": {
"gene1": [],
"gene1": [
"P2L"
],
"gene2": []
},
"aa_sequences": {
"gene1": "MPCG*",
"gene1": "MLCG*",
"gene2": "MVK*"
}
},
Expand All @@ -61,7 +61,9 @@
},
"sample_C": {
"aa_muts": {
"gene1": [],
"gene1": [
"L2P"
],
"gene2": []
}
}
Expand All @@ -70,4 +72,4 @@
"gene1": "MPCG*",
"gene2": "MVK*"
}
}
}

0 comments on commit 01b1482

Please sign in to comment.