File tree Expand file tree Collapse file tree
mp_api/client/routes/materials Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import warnings
44from collections import defaultdict
55
6- from emmet .core .elasticity_legacy import ElasticityDoc
6+ from emmet .core .elasticity import ElasticityDoc
77
88from mp_api .client .core import BaseRester
99
Original file line number Diff line number Diff line change @@ -21,11 +21,18 @@ def rester():
2121 "fields" ,
2222]
2323
24- sub_doc_fields = ["elasticity" ] # type: list
24+ sub_doc_fields = [] # type: list
2525
2626alt_name_dict = {
2727 "elastic_anisotropy" : "universal_anisotropy" ,
2828 "poisson_ratio" : "homogeneous_poisson" ,
29+ "g_voigt" : "bulk_modulus" ,
30+ "g_reuss" : "bulk_modulus" ,
31+ "g_vrh" : "bulk_modulus" ,
32+ "k_voigt" : "shear_modulus" ,
33+ "k_reuss" : "shear_modulus" ,
34+ "k_vrh" : "shear_modulus" ,
35+
2936} # type: dict
3037
3138custom_field_tests = {} # type: dict
You can’t perform that action at this time.
0 commit comments