py_neuromodulation icon indicating copy to clipboard operation
py_neuromodulation copied to clipboard

Create a "Settings" class to support Pydantic validation

Open toni-neurosc opened this issue 4 months ago • 0 comments

Currently the "Settings" object is a dictionary loaded from a JSON file. This has sometimes created problems for users when specifying pipeline settings (see #289). To provide a more robust interface for configuration and validation of settings, settings should be converted into a class with proper type hints to be validated by Pydantic at initialization and when loading a settings file or changing settings in code.

toni-neurosc avatar Apr 16 '24 10:04 toni-neurosc