tlpipe.utils.path_util.iter_path

tlpipe.utils.path_util.iter_path(path, iteration)[source]

Insert current iteration flag to the file path.

Parameters:
  • path (string) – The output path.
  • iteration (integer) – The iteration number.
Returns:

new_path – The generated new path which has the iteration been inserted.

Return type:

string