Skip to content

Commit

Permalink
Added test file to make sure multiple external specifiers work.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Mar 4, 2021
1 parent 27c304e commit 16f6c50
Show file tree
Hide file tree
Showing 3 changed files with 1,986 additions and 0 deletions.
56 changes: 56 additions & 0 deletions test/examples/correct/example_five_external_specifiers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"@context": "../../../docs/context/development/phyx.json",
"phylogenies": [{
"newick": "((((Aa_a, Bb_b)Expected, Cc_c), (Dd_d, (Ee_e, Ff_f, (Gg_g, Hh_h)))), Ii_i)"
}],
"phylorefs": [{
"label": "Expected",
"definition": "Includes A_a, excludes C_c, D_d, F_f, G_g and I_i.",
"internalSpecifiers": [
{
"@type": "http://rs.tdwg.org/ontology/voc/TaxonConcept#TaxonConcept",
"hasName": {
"@type": "http://rs.tdwg.org/ontology/voc/TaxonName#TaxonName",
"nameComplete": "Aa a"
}
}
],
"externalSpecifiers": [
{
"@type": "http://rs.tdwg.org/ontology/voc/TaxonConcept#TaxonConcept",
"hasName": {
"@type": "http://rs.tdwg.org/ontology/voc/TaxonName#TaxonName",
"nameComplete": "Cc c"
}
},
{
"@type": "http://rs.tdwg.org/ontology/voc/TaxonConcept#TaxonConcept",
"hasName": {
"@type": "http://rs.tdwg.org/ontology/voc/TaxonName#TaxonName",
"nameComplete": "Dd d"
}
},
{
"@type": "http://rs.tdwg.org/ontology/voc/TaxonConcept#TaxonConcept",
"hasName": {
"@type": "http://rs.tdwg.org/ontology/voc/TaxonName#TaxonName",
"nameComplete": "Ff f"
}
},
{
"@type": "http://rs.tdwg.org/ontology/voc/TaxonConcept#TaxonConcept",
"hasName": {
"@type": "http://rs.tdwg.org/ontology/voc/TaxonName#TaxonName",
"nameComplete": "Gg g"
}
},
{
"@type": "http://rs.tdwg.org/ontology/voc/TaxonConcept#TaxonConcept",
"hasName": {
"@type": "http://rs.tdwg.org/ontology/voc/TaxonName#TaxonName",
"nameComplete": "Ii i"
}
}
]
}]
}
Loading

0 comments on commit 16f6c50

Please sign in to comment.