Skip to content

Commit

Permalink
#1296 Add "customQuery" option support to ket format
Browse files Browse the repository at this point in the history
Add missed UT file.
  • Loading branch information
AliaksandrDziarkach committed Oct 3, 2023
1 parent c31dc02 commit ef71ac3
Showing 1 changed file with 123 additions and 0 deletions.
123 changes: 123 additions & 0 deletions api/tests/integration/tests/formats/ref/ket_with_custom_query.ket
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"root": {
"nodes": [
{
"$ref": "mol0"
}
]
},
"mol0": {
"type": "molecule",
"atoms": [
{
"label": "C",
"location": [
6.3348493576049809,
-5.550074577331543,
0.0
]
},
{
"label": "C",
"location": [
8.06515121459961,
-5.549589157104492,
0.0
]
},
{
"label": "C",
"location": [
7.2016377449035648,
-5.049966812133789,
0.0
]
},
{
"label": "C",
"location": [
8.06515121459961,
-6.55053186416626,
0.0
]
},
{
"label": "C",
"location": [
6.3348493576049809,
-6.555019855499268,
0.0
]
},
{
"label": "C",
"location": [
7.203820705413818,
-7.050033092498779,
0.0
],
"queryProperties": {
"customQuery": "C&X3,N&X2"
}
}
],
"bonds": [
{
"type": 2,
"atoms": [
2,
0
]
},
{
"type": 2,
"atoms": [
3,
1
]
},
{
"type": 1,
"atoms": [
0,
4
]
},
{
"type": 1,
"atoms": [
1,
2
]
},
{
"type": 2,
"atoms": [
4,
5
]
},
{
"type": 1,
"atoms": [
5,
3
]
}
],
"sgroups": [
{
"type": "MUL",
"atoms": [
0,
1,
2,
3,
4,
5
],
"mul": 1
}
]
}
}

0 comments on commit ef71ac3

Please sign in to comment.