mdvtools.tests.test_anndata_conversion

Functions

get_h5ad_files()

Helper function to get all h5ad files from test_datasets folder.

h5ad_file(request)

Parametrized fixture that yields each .h5ad file from the test_datasets folder.

test_project_dir()

Fixture to create a temporary directory for the MDV project.

test_convert_scanpy_to_mdv(h5ad_file, test_project_dir)

Test the conversion from Scanpy AnnData to MDV format.

test_convert_scanpy_to_mdv_views(h5ad_file, ...)

Test the view preservation and creation functionality.

Module Contents

mdvtools.tests.test_anndata_conversion.get_h5ad_files()[source]

Helper function to get all h5ad files from test_datasets folder.

mdvtools.tests.test_anndata_conversion.h5ad_file(request)[source]

Parametrized fixture that yields each .h5ad file from the test_datasets folder.

mdvtools.tests.test_anndata_conversion.test_project_dir()[source]

Fixture to create a temporary directory for the MDV project.

mdvtools.tests.test_anndata_conversion.test_convert_scanpy_to_mdv(h5ad_file, test_project_dir)[source]

Test the conversion from Scanpy AnnData to MDV format.

mdvtools.tests.test_anndata_conversion.test_convert_scanpy_to_mdv_views(h5ad_file, test_project_dir)[source]

Test the view preservation and creation functionality.