Source code for pycif.plugins.models.TM5.flushrun

from glob import glob

from ....utils import path


[docs] def flushrun(self, rundir, mode, transform_id, full_flush=True): """Cleaning the simulation directories to limit space usage""" list_subdirs = glob(f"{rundir}/*/") # Removing big files in TM5 directories for subdir in list_subdirs: path.remove(f"{subdir}/somefilesXXXXX")