We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690f490 commit 12584dbCopy full SHA for 12584db
tests/unit_tests/test_annotation.py
@@ -83,6 +83,9 @@ def test_annotate_spectra_tmt(self):
83
Path(__file__).parent / "data/tmt_spectrum_output.json",
84
)
85
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
+
89
result = annotation.annotate_spectra(spectrum_input)
90
pd.testing.assert_frame_equal(expected_result, result)
91
0 commit comments