tacco.testingΒΆ

Specialized functions to support unit tests

Functions

assert_adata_equal

Assert equality of AnnData instances

assert_dense_equal

Assert equality of dense arrays

assert_frame_equal

Assert equality of dataframes, which handles cornercases different than pandas.testing.assert_frame_equal()

assert_index_equal

Assert equality of Index - thin wrapper around pandas.testing.assert_index_equal()

assert_series_equal

Assert equality of Series - thin wrapper around pandas.testing.assert_series_equal()

assert_sparse_equal

Assert equality of sparse matrices

assert_tuple_equal

Assert equality of tuples

string_decode

Helper function to thaw objects frozen by string_encode().

string_encode

Helper function to freeze complex result objects to support regression testing.