Skip to content

Commit e5e3619

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7fd0f68 commit e5e3619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyFAI/diffmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def init_ai(self):
532532
maxshape=(None,) + self.dataset.shape[1:])
533533
self.dataset_error.attrs["interpretation"] = "image" if self.dataset.ndim == 4 else "spectrum"
534534
space = self.unit.space
535-
unit = str(self.unit)[len(space)+1:]
535+
unit = str(self.unit)[len(space)+1:]
536536
if space not in self.nxdata_grp:
537537
self.nxdata_grp[space] = tth
538538
self.nxdata_grp[space].attrs["axes"] = 3

0 commit comments

Comments
 (0)