Preps a folder for batch running in the 'Run Multiple Runs' screen of the FRAM automation fork (https://github.com/FRAMverse/FRAM_automation), for use with the advanced approach to identify multiple runs. One TAMM file will be copied multiple times in the target_folder with suffixes that identify each of the run_ids. The "Use folder" button on the "Run Multiple Runs" screen can then use the target folder to set up large batch runs. Typically users should use make_batch_runs() instead (this first copies runs and then uses copy_tamms to create tamms that match the new runs).
Arguments
- tamm_name
TAMM file to copy, including file path. Character string
- target_folder
directory to put new batch TAMM files into. Character string
- run_id_vec
vector of run_ids (numeric or character), corresponding to run ids in a FRAM database.
- overwrite
If one or more files already exist in
target_folderwith names matching the combination oftamm_nameand run ids, overwrite (TRUE) or leave those files untouched (FALSE). Defaults toFALSEfor safety; recommend setting toTRUEto avoid confusion when iterating on work.
Value
invisibly returns logical vector of file.copy() success.