Creates a new DuckDB database for the eyeris project or connects to an existing one.
The database will be created in the BIDS derivatives directory. When parallel processing
is enabled, creates temporary databases to avoid concurrency issues.
Usage
connect_eyeris_database(
bids_dir,
db_path = "my-project",
verbose = FALSE,
parallel = FALSE
)