9136cc126984ccc340dbd72e64cb8838182511af,mvpa2/datasets/sources/openfmri.py,OpenFMRIDataset,get_scan_properties,#OpenFMRIDataset#,92

Before Change


        
        props = {}
        fname = _opj(self._basedir, "scan_key.txt")
        if os.path.exists(fname):
            for line in open(fname, "r"):
                key = line.split()[0]
                value = line[len(key):].strip()
                props[key] = value
        return props

    def get_task_descriptions(self):
        Returns a dictionary with the tasks defined in the dataset

After Change


        Returns a dictionary with the scan properties listed in scan_key.txt
        
        fname = _opj(self._basedir, "scan_key.txt")
        return _get_description_dict(fname)

    def get_task_descriptions(self):
        Returns a dictionary with the tasks defined in the dataset
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: 9136cc126984ccc340dbd72e64cb8838182511af
Time: 2014-11-03
Author: michael.hanke@gmail.com
File Name: mvpa2/datasets/sources/openfmri.py
Class Name: OpenFMRIDataset
Method Name: get_scan_properties


Project Name: ufoym/deepo
Commit Name: 3e50a20ff2d5a0bf5f0735fc1476b4790e48cc5c
Time: 2018-10-08
Author: a@ufoym.com
File Name: generator/modules/caffe2.py
Class Name: Caffe2
Method Name: build


Project Name: PyMVPA/PyMVPA
Commit Name: 9136cc126984ccc340dbd72e64cb8838182511af
Time: 2014-11-03
Author: michael.hanke@gmail.com
File Name: mvpa2/datasets/sources/openfmri.py
Class Name: OpenFMRIDataset
Method Name: get_task_descriptions