Skip to content

Commit e6b99da

Browse files
committed
Removed return of current in
1 parent 13904b9 commit e6b99da

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/spikeinterface/core/core_tools.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,15 +257,13 @@ def set_value_in_extractor_dict(extractor_dict: dict, access_path: tuple, new_va
257257
258258
Returns
259259
-------
260-
dict
261-
The modified dictionary
260+
None
262261
"""
263262

264263
current = extractor_dict
265264
for key in access_path[:-1]:
266265
current = current[key]
267266
current[access_path[-1]] = new_value
268-
return current
269267

270268

271269
def recursive_path_modifier(d, func, target="path", copy=True) -> dict:

0 commit comments

Comments
 (0)