Skip to content

Commit d962c1b

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent 9343e86 commit d962c1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_transforms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@
1414
(None, np.empty((0)), np.empty((0))),
1515
# 2. Empty q values, wavelength specified, return empty arrays
1616
(4 * np.pi, np.empty((0)), np.empty(0)),
17-
1817
# Case 2: Allow wavelength to be missing.
1918
# Valid q values, no wavelength, return index array
2019
(
2120
None,
2221
np.array([0, 0.2, 0.4, 0.6, 0.8, 1]),
2322
np.array([0, 1, 2, 3, 4, 5]),
2423
),
25-
2624
# Case 3: Correctly specified q and wavelength
2725
# Expected tth values are 2*arcsin(q) in degrees
2826
(4 * np.pi, np.array([0, 1 / np.sqrt(2), 1.0]), np.array([0, 90.0, 180.0])),

0 commit comments

Comments
 (0)