eelbrain.pipeline.MneExperiment.rm

MneExperiment.rm(temp, inclusive=False, confirm=False, **constants)

Remove all files corresponding to a template

Asks for confirmation before deleting anything. Uses glob, so individual templates can be set to ‘*’.

Parameters
  • temp (str) – Name of the path template for which to find and delete files.

  • inclusive (bool) – Treat all unspecified fields as * (default False).

  • confirm (bool) – Confirm removal of the selected files. If False (default) the user is prompted for confirmation with a list of files; if True, the files are removed immediately.

  • **others** – Set field values (values can be ‘*’ to match all).

See also

glob

Find all files matching a template.

copy

Copy files

move

Move files.