eelbrain.pipeline.MneExperiment.make_copy
- MneExperiment.make_copy(temp, field, src, dst, overwrite=None, **state)
Make a copy of a file to a new path by substituting one field value
- Parameters:
temp (str) – Template of the file which to copy.
field (str) – Field in which the source and target of the link are distinguished.
src (str) – Value for field on the source file.
dst (str) – Value for field on the destination filename.
overwrite (bool) – If the target file already exists, overwrite the old file. The default is to raise an
IOErrorif the file exists. Set toFalseto quietly keep exising files.
See also
copyCopy muliple files to a different root directory