ibllib.pipes.purge_rig_data
Purge data from acquisition PC.
Steps:
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
Returns the session name (subject/date/number) string for any filepath using session_path |