mvpa2.misc.support.
pathjoin
Join two or more pathname components, inserting ‘/’ as needed. If any component is an absolute path, all previous path components will be discarded. An empty last part will result in a path that ends with a separator.
mvpa2.misc.support.ncombinations
mvpa2.misc.support.reuse_absolute_path