Skip to content

Commit

Permalink
Update hkl/util.py
Browse files Browse the repository at this point in the history
I like this.

Co-authored-by: Padraic Shafer <[email protected]>
  • Loading branch information
prjemian and padraic-shafer authored Jan 6, 2024
1 parent 496e25f commit 32e3043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hkl/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def run_orientation_info(run):
if f"{device}_orientation_attrs" in conf:
# fmt:off
devices[device] = {
item[len(device) + 1:]: value
item[len(f"{device}_"):]: value
for item, value in conf.items()
}
# fmt:on
Expand Down

0 comments on commit 32e3043

Please sign in to comment.