We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fd0f68 commit e5e3619Copy full SHA for e5e3619
src/pyFAI/diffmap.py
@@ -532,7 +532,7 @@ def init_ai(self):
532
maxshape=(None,) + self.dataset.shape[1:])
533
self.dataset_error.attrs["interpretation"] = "image" if self.dataset.ndim == 4 else "spectrum"
534
space = self.unit.space
535
- unit = str(self.unit)[len(space)+1:]
+ unit = str(self.unit)[len(space)+1:]
536
if space not in self.nxdata_grp:
537
self.nxdata_grp[space] = tth
538
self.nxdata_grp[space].attrs["axes"] = 3
0 commit comments