mdvtools.tests.example_mock_usage#

Example usage of the mock AnnData module.

This script demonstrates how to use the MockAnnDataFactory and related utilities for creating test data and stress testing the MDV conversion pipeline.

Functions#

temp_mdv_project()

Context manager for temporary MDV project creation and cleanup.

example_basic_usage()

Example of basic usage with convenience functions.

example_factory_usage()

Example of using the MockAnnDataFactory class.

example_conversion_testing()

Example of testing MDV conversion with mock data.

example_validation_and_summary()

Example of using validation and summary utilities.

example_stress_testing()

Example of stress testing with large datasets.

main()

Run all examples.

Module Contents#

mdvtools.tests.example_mock_usage.temp_mdv_project()[source]#

Context manager for temporary MDV project creation and cleanup.

mdvtools.tests.example_mock_usage.example_basic_usage()[source]#

Example of basic usage with convenience functions.

mdvtools.tests.example_mock_usage.example_factory_usage()[source]#

Example of using the MockAnnDataFactory class.

mdvtools.tests.example_mock_usage.example_conversion_testing()[source]#

Example of testing MDV conversion with mock data.

mdvtools.tests.example_mock_usage.example_validation_and_summary()[source]#

Example of using validation and summary utilities.

mdvtools.tests.example_mock_usage.example_stress_testing()[source]#

Example of stress testing with large datasets.

mdvtools.tests.example_mock_usage.main()[source]#

Run all examples.