Skip to content

Commit 896b585

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 900c81e commit 896b585

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

mne/channels/interpolation.py

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -497,17 +497,21 @@ def _interpolate_to_meg(inst, sensors, origin, mode):
497497
# Some keys require as default an empty list.
498498
info_to = deepcopy(info_from)
499499
with info_to._unlock():
500-
info_to.update({"chs": deepcopy(info_cano["chs"]),
501-
"ch_names": deepcopy(info_cano["ch_names"]),
502-
"nchan": deepcopy(info_cano["nchan"]),
503-
"device_info": None,
504-
"helium_info": None,
505-
"gantry_angle": None,
506-
"ctf_head_t": None,
507-
"dev_ctf_t": None,
508-
"bads": [],
509-
"projs": [],
510-
"comps": []})
500+
info_to.update(
501+
{
502+
"chs": deepcopy(info_cano["chs"]),
503+
"ch_names": deepcopy(info_cano["ch_names"]),
504+
"nchan": deepcopy(info_cano["nchan"]),
505+
"device_info": None,
506+
"helium_info": None,
507+
"gantry_angle": None,
508+
"ctf_head_t": None,
509+
"dev_ctf_t": None,
510+
"bads": [],
511+
"projs": [],
512+
"comps": [],
513+
}
514+
)
511515

512516
# Compute field interpolation mapping
513517
origin_val = _check_origin(origin, inst.info)

0 commit comments

Comments
 (0)