slitflow.name module
This module provides file path processing functions.
- make_info_path(root_dir, grp_no, ana_no, obs_name, ana_name='', grp_name='')[source]
Return an info path with creating all folders required.
- Parameters:
- Returns:
Path to info JSON file with
.sfextension- Return type:
- split_info_path(info_path)[source]
Split info path string into part names.
- Parameters:
info_path (str) – Path to an information JSON file.
- Returns:
Tuples containing
ana_path (str): path to the analysis folder
obs_name (str): observation name
ana_name (str): analysis name without extension
grp_name (str): group name without extension