ibllib.pipes.purge_rig_data

Purge data from RIG - Find all files by rglob - Find all sessions of the found files - Check Alyx if corresponding datasetTypes have been registered as existing sessions and files on Flatiron - Delete local raw file if found on Flatiron

Functions

purge_local_data

session_name

Returns the session name (subject/date/number) string for any filepath using session_path

session_name(path) str[source]

Returns the session name (subject/date/number) string for any filepath using session_path

purge_local_data(local_folder, file_name, lab=None, dry=False)[source]