iblrig.path_helper

Functions

create_bonsai_layout_from_template

Create a Bonsai layout file from a template if it does not already exist.

get_commit_hash

get_local_and_remote_paths

Function used to parse input arguments to transfer commands.

iterate_collection

Given a session path returns the next numbered collection name.

iterate_previous_sessions

Iterate over the sessions of a given subject in both the remote and local path and search for a given protocol name.

load_pydantic_yaml

Load YAML data from a specified file or a standard IBLRIG settings file, validate it using a Pydantic model, and return the validated Pydantic model instance.

patch_settings

Update loaded settings files to ensure compatibility with latest version.

save_pydantic_yaml