Skip to content

Commit

Permalink
MNT #321 also for UB
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 8, 2025
1 parent 74159ae commit 15d06c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hkl/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class DCSample:
reflections: List[DCReflection]
"""List of orientation reflections."""

UB: List[List[float]]
UB: List[List[float]] = field(default_factory=lambda: [[]])
"""
Orientation matrix (3 x 3). U is the crystal orientation matrix relative
to the diffractometer and B is the transition matrix of a non-orthonormal
Expand Down

0 comments on commit 15d06c3

Please sign in to comment.