common_parent#

maize.utilities.io.common_parent(files: Sequence[Path]) Path[source]#

Provides the common parent directory for a list of files.

Parameters:

files – List of paths

Returns:

Common parent directory

Return type:

Path