Skip to main content

detect_format

Function detect_format 

Source
pub fn detect_format(path: &Path) -> Result<Format>
Expand description

Detect the tractogram format from a file path or directory.

Returns Err if the path does not match a known format.