ibllib.tests.test_pipes

Classes

TestExtractors2Tasks

TestMultiPartsRecordings

TestPipesMisc

TestScanFixPassiveFiles

TestSpikeSortingTask

TestSyncData

Tests for the ibllib.pipes.misc.confirm_widefield_remote_folder

class TestExtractors2Tasks(methodName='runTest')[source]

Bases: TestCase

test_task_to_pipeline()[source]
test_task_names_extractors()[source]

This is to test against regressions

class TestPipesMisc(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_behavior_exists()[source]
test_check_transfer()[source]
test_get_new_filename()[source]
test_rename_and_move()[source]
test_create_ephys_transfer_done_flag()[source]
test_create_video_transfer_done_flag()[source]
test_check_create_raw_session_flag()[source]
test_create_ephys_flags()[source]
test_create_alyx_probe_insertions()[source]
test_probe_names_from_session_path()[source]
test_rename_session()[source]
test_create_basic_transfer_params()[source]

Tests for the ibllib.pipes.misc.create_basic_transfer_params function

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

class TestSyncData(methodName='runTest')[source]

Bases: TestCase

Tests for the ibllib.pipes.misc.confirm_widefield_remote_folder

raw_widefield = ['dorsal_cortex_landmarks.json', 'fakemouse_SpatialSparrow_19000101_182010.camlog', 'fakemouse_SpatialSparrow_19000101_182010_2_540_640_uint16-002.dat', 'snapshots/19000101_190154_1photon.tif']
setUp()[source]

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

test_rdiff_install()[source]
test_transfer_session_folders()[source]
test_rsync_paths()[source]
test_backup_session()[source]
class TestScanFixPassiveFiles(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_scan_fix()[source]
test_find_pairs()[source]
test_move_rename_pairs()[source]
tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

class TestMultiPartsRecordings(methodName='runTest')[source]

Bases: TestCase

test_create_multiparts_flags()[source]
class TestSpikeSortingTask(methodName='runTest')[source]

Bases: TestCase

test_parse_version()[source]