Skip to content

Commit a531b94

Browse files
committed
clear up commnet
1 parent 5a83eab commit a531b94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ml_peg/calcs/bulk_crystal/elasticity/calc_elasticity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def elastic_tensor_to_voigt(tensor: Any) -> np.ndarray | None:
200200
if hasattr(tensor, "voigt"):
201201
return np.asarray(tensor.voigt)
202202

203-
# benchmark dict case, e.g. DFT field
203+
# Matcalc/checkpoint serialisation stores tensor payloads as dictionaries.
204204
if isinstance(tensor, dict):
205205
if "raw" in tensor:
206206
tensor = tensor["raw"]

0 commit comments

Comments
 (0)