Skip to content

[ENH] move pybids cache to workdir #181

@bpinsard

Description

@bpinsard

The BIDSLayout is hard-coded to store it's sqlite database into the input folder.

database_path=bids_dir,

However, one might have read-only access to that folder (or want to impose it through container binds to avoid any modification), causing it to crash with :

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file

In nipreps softwares this is stored into the workdir where we expect write permissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions