Skip to content

Commit

Permalink
MNT #317 as suggested (for py38)
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jan 12, 2024
1 parent 9671da7 commit 2fb010f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hkl/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ class DCSample:
(the reciprocal of the crystal) in an orthonormal system.
"""

# TODO: Once py38 is dropped, re-enable the default value setting
U: List[List[float]] # = field(default_factory=list[list[float]])
U:field(default_factory=lambda: [[]]) # list containing an empty list
"""
Orientation matrix (3 x 3) of the crystal relative to the diffractometer.
(optional)
Expand Down

0 comments on commit 2fb010f

Please sign in to comment.