bidsschematools.utils#
Utility functions for the bids-specification schema.
Functions
- bidsschematools.utils.get_bundled_schema_path()#
Get the path to the schema directory.
- Returns:
Absolute path to the directory containing schema-related files.
- Return type:
- bidsschematools.utils.get_logger(name=None)#
Return a logger to use.
- Parameters:
name (None or str, optional) – Name of the logger. Defaults to None.
- Returns:
logger object.
- Return type:
- bidsschematools.utils.set_logger_level(lgr, level)#
Set the logger level.
- Parameters:
lgr (logging.Logger) – logger object for which to change the level.