get_format

method of dascore.io.core.FiberIO source

get_format(
    self ,
    resource ,
    **kwargs ,
)-> ‘tuple[str, str] | bool’

Return a tuple of (format_name, version_numbers).

This should only work if path is the supported file format, otherwise raise UnknownFiberError or return False.