We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294f84a commit 822d0c9Copy full SHA for 822d0c9
mne_bids/write.py
@@ -675,7 +675,7 @@ def _participants_json(fname, overwrite=False):
675
# make sure to append any JSON fields added by the user
676
# Note: mne-bids will overwrite age, sex and hand fields
677
# if `overwrite` is True
678
- fname = Path(fname)
+ fpath = Path(fname)
679
fname.parent.mkdir(parents=True, exist_ok=True)
680
681
# Use _open_lock for atomic read-modify-write operation
0 commit comments