Skip to content

Commit 822d0c9

Browse files
Apply suggestion from @agramfort
Co-authored-by: Alexandre Gramfort <[email protected]>
1 parent 294f84a commit 822d0c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mne_bids/write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ def _participants_json(fname, overwrite=False):
675675
# make sure to append any JSON fields added by the user
676676
# Note: mne-bids will overwrite age, sex and hand fields
677677
# if `overwrite` is True
678-
fname = Path(fname)
678+
fpath = Path(fname)
679679
fname.parent.mkdir(parents=True, exist_ok=True)
680680

681681
# Use _open_lock for atomic read-modify-write operation

0 commit comments

Comments
 (0)