update_results_file

pyR2D2.util.update_results_file(file_path, total_size, unit, caseid, dir_path)[source]

Updates the results file with the size of a directory.

Parameters:
  • file_path (str) – Path to the results file

  • total_size (float) – Total size of the directory

  • unit (str) – Unit of the file size

  • caseid (str) – The case ID of the directory

  • dir_path (str) – The directory path