Skip to content

Commit 8ebaede

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent ef75197 commit 8ebaede

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_transforms.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,15 @@
1212
# UC1.1: User specified empty 'q' and no 'wavelength'.
1313
# Expect empty 'tth' array and UserWarning about missing wavelength.
1414
(None, np.empty((0)), np.empty((0))),
15-
1615
# UC1.2: User specified empty 'q' and 'wavelength'. Expect empty 'tth' array.
1716
(4 * np.pi, np.empty((0)), np.empty(0)),
18-
1917
# UC2.1: User specified non-empty 'q' values and no 'wavelength'.
2018
# Expect non-empty 'tth' array and UserWarning about missing wavelength.
2119
(
2220
None,
2321
np.array([0, 0.2, 0.4, 0.6, 0.8, 1]),
2422
np.array([0, 1, 2, 3, 4, 5]),
2523
),
26-
2724
# UC2.2: User specified non-empty 'q' values and 'wavelength'.
2825
# Expect tth values are 2*arcsin(q) in degrees.
2926
(4 * np.pi, np.array([0, 1 / np.sqrt(2), 1.0]), np.array([0, 90.0, 180.0])),

0 commit comments

Comments
 (0)