Skip to content

Commit 12584db

Browse files
committed
fixed typeguard
1 parent 690f490 commit 12584db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/unit_tests/test_annotation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ def test_annotate_spectra_tmt(self):
8383
Path(__file__).parent / "data/tmt_spectrum_output.json",
8484
)
8585

86+
spectrum_input["INTENSITIES"] = spectrum_input["INTENSITIES"].map(lambda intensities: np.array(intensities))
87+
spectrum_input["MZ"] = spectrum_input["MZ"].map(lambda mz: np.array(mz))
88+
8689
result = annotation.annotate_spectra(spectrum_input)
8790
pd.testing.assert_frame_equal(expected_result, result)
8891

0 commit comments

Comments
 (0)