Hi
how about:

101611_CAU01A_10-07-06_14-29_1_c,rfDC.fif.


Am 28.04.2014 21:32, schrieb Juergen Dammers:

In utils.py:

> +
> +    Parameters
> +    ----------
> +    subject_list: List of subjects.
> +    subjects_dir: The subjects directory. If None, the default SUBJECTS_DIR from environment will be considered.
> +
> +    Output
> +    ------
> +    The raw files with bads marked are saved with _bads_marked.fif suffix.
> +    '''
> +    for subj in subjects:
> +        print "For subject %s"%(subj)
> +        if not subjects_dir: SUBJECTS_DIR = os.environ['SUBJECTS_DIR']
> +        dirname = SUBJECTS_DIR+'/'+subj
> +        for raw_fname in os.listdir(dirname):
> +            if raw_fname.endswith('-raw.fif'):


@pravsripad<https://github.com/pravsripad> @fboers<https://github.com/fboers> we soon need to agree on filename convention. A raw file in our environment usually looks like this: 101611_CAU01A_10-07-06_14:29_1_c,rfDC.fif.

—
Reply to this email directly or view it on GitHub<https://github.com/jdammers/jumeg/pull/4/files#r12063390>.



--
Frank Boers
Institute of Neuroscience and Medicine - 4
Medical Imaging Physics
Forschungszentrum Juelich GmbH
52425 Juelich
phone: +49 - (0)2461-61-6005
fax  : +49 - (0)2461-61-2820
email: f.boers@fz-juelich.de<mailto:f.boers@fz-juelich.de>
http://www.fz-juelich.de/inm/inm-4/DE/Forschung/MEG-Physik/_node.html


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------