Skip to content

Commit f29ad91

Browse files
committed
chore: removed np.nsarray return type, not needed
1 parent ee5f3a3 commit f29ad91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/utils/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _validate_inputs(q, wavelength):
2828
raise ValueError(invalid_q_or_d_or_wavelength_emsg)
2929

3030

31-
def q_to_tth(q, wavelength) -> np.ndarray:
31+
def q_to_tth(q, wavelength):
3232
r"""Helper function to convert q to two-theta.
3333
3434
If wavelength is missing, returns x-values that are integer indexes

0 commit comments

Comments
 (0)