-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal validator failures #1272
Comments
Thanks for the report @jjmortensen, could you paste the response to the failing query on your local server? Looks like |
{
"data": [
{
"id": "2",
"attributes": {
"cartesian_site_positions": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"species_at_sites": [
"C",
"O"
],
"species": [
{
"name": "C",
"chemical_symbols": [
"C"
],
"concentration": [
1.0
]
},
{
"name": "O",
"chemical_symbols": [
"O"
],
"concentration": [
1.0
]
}
],
"lattice_vectors": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"dimension_types": [
1,
1,
1
],
"last_modified": "2022-07-12T13:32:57Z",
"elements": [
"C",
"O"
],
"elements_ratios": [
0.5,
0.5
],
"structure_features": [],
"id": "2",
"chemical_formula_descriptive": "x",
"chemical_formula_reduced": "CO",
"chemical_formula_anonymous": "AB",
"chemical_formula_hill": "CO",
"nsites": 2,
"nelements": 2,
"nperiodic_dimensions": 3
}
}
],
"meta": {
"query": {
"representation": "/info?"
},
"api_version": "1.1.0",
"more_data_available": false,
"data_returned": 1,
"provider": {
"name": "OASE",
"description": "OPTIMADE for ASE",
"prefix": "cmr",
"homepage": "https://gitlab.com/jensj/ase-optimade"
},
"data_available": 1,
"implementation": {
"name": "oase",
"version": "22.7.0",
"source_url": "https://gitlab.com/jensj/ase-optimade",
"maintainer": {
"email": "[email protected]"
}
},
"time_stamp": "2022-07-12 15:33:01.980485"
}
} |
Indeed, adding |
Thanks! |
Great, we've tried to wrap other internal errors like this as validation failures so I think it's useful to keep this open as a non-urgent issue and I will get around to tweaking it for the next release. |
See: https://gitlab.com/jensj/ase-optimade/-/jobs/2709917839
The text was updated successfully, but these errors were encountered: