File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -129,9 +129,14 @@ to be used in ``infotodict``.
129
129
Importantly the return value of that function needs to be hashable.
130
130
For instance the following non-hashable types can be converted to an alternative
131
131
hashable type:
132
- - list > tuple
133
- - dict > frozendict
134
- - arrays > bytes (tobytes(), or pickle.dumps), str or tuple of tuples.
132
+
133
+ - `list ` --> `tuple `
134
+ - `dict ` --> `frozendict `
135
+ - `arrays ` --> `bytes ` (`tobytes() `, or `pickle.dumps `), `str ` or `tuple ` of tuples.
136
+
137
+ For an example see
138
+ `convertall_custom.py <https://github.com/nipy/heudiconv/blob/master/heudiconv/heuristics/convertall_custom.py#L16 >`__
139
+ heuristic.
135
140
136
141
-------------------------------
137
142
``POPULATE_INTENDED_FOR_OPTS ``
You can’t perform that action at this time.
0 commit comments