nilspodlib.legacy.legacy_support_check#

nilspodlib.legacy.legacy_support_check(version: Version, as_warning: bool = False)[source]#

Check if a file recorded with a specific fileformat version can be converted using legacy support.

Parameters:
version

The version to check for.

as_warning

If True only a Warning instead of an error is raised, if legacy support is required for the dataset.