seismicrna.tests package

Submodules

class seismicrna.tests.wf_test.TestWorkflow(*args, **kwargs)

Bases: TestCase

property out_dir
setUp()

Hook method for setting up the test fixture before exercising it.

property sim_dir
tearDown()

Hook method for deconstructing the test fixture after testing it.

test_wf_sim_2samples_2refs_20000reads_2clusts()
test_wf_sim_2samples_2refs_20000reads_2clusts_cli()
class seismicrna.tests.wf_test.TestWorkflowTwoOutDirs(*args, **kwargs)

Bases: TestCase

CJOINED = 'cjoined_region'
MJOINED = 'mjoined_region'
NUMBERS = [1, 2]
POOLED = 'pooled_sample'
REF = 'test_ref'
REFS = 'test_refs'
SAMPLE = 'test_sample'
check_no_identical(files: Iterable[str | Path], binary: bool)

Confirm no two files have identical contents.

property out_dir
property out_dirs
setUp()

Hook method for setting up the test fixture before exercising it.

property sim_dir
property sim_dirs
tearDown()

Hook method for deconstructing the test fixture after testing it.

test_wf_two_out_dirs()
seismicrna.tests.wf_test.list_actions(num_structs: int)
seismicrna.tests.wf_test.list_profiles(num_structs: int)
seismicrna.tests.wf_test.list_step_dir_contents(parent_dir: Path, step: str, num_batches: int, write_read_names: bool = True)