First steps towards the trajectory endpoint (Johan's legacy) #2310
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi everyone,
I tried to rescue as much code as possible from an old branch in the Johan personal repository of optimade python tools.
I removed all the compatibility layer which was specific for our database and fixed most compatibility issues with the current optimade version but there is one last failing test.
You may reproduce the problem running
pytest tests/server/test_server_validation.pyThe error is giving me no clue of what I should do to fix it and I have spend already much time trying to.
I think it is some issue related to queries aiming for 'frame_serialization_format' and 'nvalues', which are two trajectory attributes declared under the 'AvailablePropertySubfields' class. These are declared apart and they are not in the current trajectories specification, so we could simply delete them, but I am afraid there is some error behind this and it will appear back when we declare new property subfields, so it should be understood and fixed before starting to implement the new specification.
This pull request is being done in collaboration with @ml-evs and @ndaelman-hu.