From 111bece91d8531a885b3acb613eccdf7daf68c8b Mon Sep 17 00:00:00 2001 From: Andreas Eisenbarth Date: Mon, 11 Mar 2024 11:46:59 +0100 Subject: [PATCH] Add failing test case for neutral loss --- metaspace_converter/tests/to_anndata_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/metaspace_converter/tests/to_anndata_test.py b/metaspace_converter/tests/to_anndata_test.py index cc6aac9..cb4bbfe 100644 --- a/metaspace_converter/tests/to_anndata_test.py +++ b/metaspace_converter/tests/to_anndata_test.py @@ -36,9 +36,14 @@ def sm(metaspace_credentials) -> SMInstance: @pytest.mark.parametrize( ("dataset_id", "database", "fdr", "metadata_as_obs", "add_optical_image"), [ + # Just downloading, metadata as uns ("2021-09-03_11h43m13s", ("CoreMetabolome", "v3"), 0.1, False, False), + # Metadata as obs ("2021-09-03_11h43m13s", ("CoreMetabolome", "v3"), 0.1, True, False), + # Add optical image for SquidPy ("2021-09-03_11h43m13s", ("CoreMetabolome", "v3"), 0.1, False, True), + # Dataset with custom database, neutral losses + ("2022-11-18_16h40m47s", ("AE_spacem_tests", "v1"), 0.5, False, False), ], ) def test_metaspace_to_anndata(