get_format

method of dascore.clients.filespool.FiberIO source

get_format(
    self ,
    path ,
)-> 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.