ibllib.tests.fixtures.utils

Functions

create_fake_alf_folder_dlc_data

create_fake_complete_ephys_session

create_fake_ephys_recording_bad_passive_transfer_sessions

create_fake_raw_behavior_data_folder

create_fake_raw_ephys_data_folder

create_fake_raw_ephys_data_folder creates raw_ephys_data folder can populate with empty files with expected names

create_fake_raw_video_data_folder

create_fake_session_folder

populate_task_settings

create_fake_session_folder(root_data_path, lab='fakelab', mouse='fakemouse', date='1900-01-01', num='001', increment=True)[source]
create_fake_raw_ephys_data_folder(session_path, populate=True)[source]

create_fake_raw_ephys_data_folder creates raw_ephys_data folder can populate with empty files with expected names

Parameters
  • session_path ([type]) – [description]

  • populate (bool, optional) – [description], defaults to True

Returns

[description]

Return type

[type]

create_fake_raw_video_data_folder(session_path, populate=True)[source]
create_fake_alf_folder_dlc_data(session_path, populate=True)[source]
create_fake_raw_behavior_data_folder(session_path, populate=True, task='ephysCW', folder='raw_behavior_data')[source]
populate_task_settings(fpath: pathlib.Path, patch: dict)[source]
create_fake_complete_ephys_session(root_data_path, lab='fakelab', mouse='fakemouse', date='1900-01-01', num='001', increment=True)[source]
create_fake_ephys_recording_bad_passive_transfer_sessions(root_data_path, lab='fakelab', mouse='fakemouse', date='1900-01-01', num='001', increment=True)[source]