Skip to content

Commit b898594

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

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

doc/source/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Change-log of versions
1111
* Bug fix version (Thanks to Fred Picca/Debian for testing on many architectures)
1212
* Use automatically dynamic mask for Dectris detector data
1313

14-
- Automatically recognizes and masks out bad pixel
14+
- Automatically recognizes and masks out bad pixel
1515
- `dummy` and `delta_dummy` values are already known from the manufacturer
1616
- empty bins are no more marked with the `dummy` value (which can be very large for Eiger) but with the `empty` value which is fully under control of the user, 0.0 by default.
1717

doc/source/usage/tutorial/Goniometer/Rotation-Pilatus100k/ROBL_v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
"pi": 3.141592653589793
4848
}
4949
}
50-
}
50+
}

doc/source/usage/tutorial/Goniometer/Rotation-Pilatus100k/ROBL_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@
5050
"pi": 3.141592653589793
5151
}
5252
}
53-
}
53+
}

src/pyFAI/integrator/azimuthal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def integrate1d(self, data, npt, filename=None,
134134
dummy = numpy.float32(dummy)
135135
delta_dummy = None if delta_dummy is None else numpy.float32(delta_dummy)
136136
empty = self._empty
137-
137+
138138
shape = data.shape
139139
pos0_scale = unit.scale
140140

src/pyFAI/test/test_azimuthal_integrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def test_radial(self):
333333
def test_separate(self):
334334
"Non regression for #2473"
335335
res = self.ai.separate(self.data)
336-
336+
337337

338338

339339
class TestFlatimage(unittest.TestCase):

src/pyFAI/test/test_mask.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,14 @@ def test_mask_LUT(self):
171171
meth = ("bbox", "lut", "cython")
172172
x1 = self.ai.integrate1d_ng(self.data, 1000, unit="2th_deg", method=meth)
173173
x2 = self.ai.integrate1d_ng(self.data, 1000, mask=self.mask, unit="2th_deg", method=meth)
174-
174+
175175
# hack too fix the test, since empty != dummy
176176
empty = self.ai.empty
177177
self.ai.empty = -20
178178
x3 = self.ai.integrate1d_ng(self.data, 1000, mask=numpy.zeros(shape=self.mask.shape, dtype="uint8"), dummy=-20.0, delta_dummy=19.5, unit="2th_deg", method=meth)
179179
self.ai.empty = empty
180180
# end of hack
181-
181+
182182
res1 = numpy.interp(1.5, *x1)
183183
res2 = numpy.interp(1.5, *x2)
184184
res3 = numpy.interp(1.5, *x3)

0 commit comments

Comments
 (0)