Skip to content

Commit

Permalink
Add elastiticy queries to summary
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Nov 8, 2023
1 parent dfbe1ca commit 098aeef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions emmet-api/emmet/api/routes/materials/summary/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
SearchStatsQuery,
SearchESQuery,
)
from emmet.api.routes.materials.elasticity.query_operators import (
BulkModulusQuery,
ShearModulusQuery,
)

from emmet.api.core.global_header import GlobalHeaderProcessor
from emmet.api.core.settings import MAPISettings
Expand All @@ -53,6 +57,8 @@ def summary_resource(summary_store):
SearchMagneticQuery(),
SearchESQuery(),
NumericQuery(model=SummaryDoc, excluded_fields=["composition"]),
BulkModulusQuery(),
ShearModulusQuery(),
SearchHasReconstructedQuery(),
HasPropsQuery(),
DeprecationQuery(),
Expand Down

0 comments on commit 098aeef

Please sign in to comment.