eelbrain.pipeline.MneExperiment.show_file_status

MneExperiment.show_file_status(temp, col=None, row='subject', count=True, present='time', absent='-', **kwargs)

Compile a table about the existence of files

Parameters
  • temp (str) – The name of the path template for the files to examine.

  • col (Optional[str]) – Field over which to alternate columns (default is a single column).

  • row (str) – Field over which to alternate rows (default ‘subject’).

  • count (bool) – Add a column with a number for each line (default True).

  • present (str) – String to display when a given file is present. 'time' to use last modification date and time (default); 'date' for date only.

  • absent (str) – String to display when a given file is absent (default '-').

  • ...MneExperiment.iter() parameters.

Examples

>>> e.show_file_status('rej-file')
    Subject   Rej-file
-------------------------------
0   A0005     07/22/15 13:03:08
1   A0008     07/22/15 13:07:57
2   A0028     07/22/15 13:22:04
3   A0048     07/22/15 13:25:29
>>> e.show_file_status('rej-file', 'raw')
    Subject   0-40   0.1-40              1-40   Clm
---------------------------------------------------
0   A0005     -      07/22/15 13:03:08   -      -
1   A0008     -      07/22/15 13:07:57   -      -
2   A0028     -      07/22/15 13:22:04   -      -
3   A0048     -      07/22/15 13:25:29   -      -