pymead.utils.misc.make_ga_opt_dir#
- make_ga_opt_dir(rootdir: str, ga_opt_dir_name: str)[source]#
Creates a clean directory for optimization by finding the integer tags of all the directories in the root optimization directory with the same name as
ga_opt_dir_nameand incrementing the maximum integer by one. For example, if the root optimization directory contains subdirectories namedga_opt_5,ga_opt_7, andga_opt_8, the newly created directory will be namedga_opt_9.