Skip to content

Commit

Permalink
Add material ID query to elasticity (#881)
Browse files Browse the repository at this point in the history
* Fix elasticity query_ops

* Remove elasticity sub key in summary

* Fix elasticity tests

* Linting

* Fix elasticity import

* Fix nested elasticity data in summary

* More nested summary fixes

* Linting

* Add multi material_id query to elasticity
  • Loading branch information
Jason Munro authored Nov 1, 2023
1 parent 123e8ea commit 1e65eeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions emmet-api/emmet/api/routes/materials/elasticity/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from emmet.core.elasticity import ElasticityDoc
from emmet.api.core.global_header import GlobalHeaderProcessor
from maggma.api.query_operator import PaginationQuery, SortQuery, SparseFieldsQuery
from emmet.api.routes.materials.materials.query_operators import MultiMaterialIDQuery
from emmet.api.routes.materials.elasticity.query_operators import (
ElasticityChemsysQuery,
BulkModulusQuery,
Expand All @@ -17,6 +18,7 @@ def elasticity_resource(elasticity_store):
elasticity_store,
ElasticityDoc,
query_operators=[
MultiMaterialIDQuery(),
ElasticityChemsysQuery(),
BulkModulusQuery(),
ShearModulusQuery(),
Expand Down

0 comments on commit 1e65eeb

Please sign in to comment.