Collect TESS cluster run files from multiple folders to one folder and rename each run by folder name
collectRunsTess(runsdir = NULL, newdir = NULL)
runsdir | A character path indicating the directory containing TESS runs in multiple directories. To use current working directory, set |
---|---|
newdir | A character indicating the name/path of the new directory to be created with the collected runs. |
Two integers are returned. The first denotes the number of TESS run files copied and renamed. The second number denotes number of directories without TESS run files.
Within each TESS run folder, the function searches for filename ending with 'TR.txt' as the cluster file. This file is copied to the new folder and renamed as the name of the respective run directory. Therefore, DO NOT manually rename original run files or directories.
See the vignette for more details.