pyhrf.sandbox.data_parser module¶
-
class
pyhrf.sandbox.data_parser.
StructuredDataParser
(directory_labels, allowed_subdirectories, directory_forgers=None, file_forgers=None, root_path=None)¶ -
get_file_blocs
(file_defs, **subdirs)¶
-
get_files
(file_def, **subdirs)¶
-
set_root
(root)¶
-
-
pyhrf.sandbox.data_parser.
apply_to_dict
(d, f)¶
-
pyhrf.sandbox.data_parser.
check_subdirs
(path, labels, tree, not_found=None)¶
-
pyhrf.sandbox.data_parser.
forge_nrl_files
(conditions)¶ construct list of nrl files from list of conditions
-
pyhrf.sandbox.data_parser.
safe_init
(x, default)¶
-
pyhrf.sandbox.data_parser.
safe_list
(l)¶
-
pyhrf.sandbox.data_parser.
same
(x)¶ identity function
-
pyhrf.sandbox.data_parser.
unformat_nrl_file
(file_nrl)¶