Skip to content

Commit 34a793b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 662a5cc commit 34a793b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

mne/_fiff/proj.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,11 +706,10 @@ def _write_proj(fid, projs, *, ch_names_mapping=None):
706706
write_float(fid, FIFF.FIFF_PROJ_ITEM_TIME, 0.0)
707707

708708
write_int(fid, FIFF.FIFF_PROJ_ITEM_NVEC, proj["data"]["nrow"])
709-
709+
710710
if proj.get("desc") is not None:
711711
write_string(fid, FIFF.FIFF_NAME, proj["desc"])
712712

713-
714713
if proj["active"] is not None:
715714
val = 1 if proj["active"] else 0
716715
write_int(fid, FIFF.FIFF_MNE_PROJ_ITEM_ACTIVE, val)

0 commit comments

Comments
 (0)