olafhauk
(Olaf Hauk)
April 17, 2024, 1:54pm
1
MNE version: 1.6.1
operating system: CentOS Linux 7
The following command does not add the extension “.fif” to the filename, presumably because suffix=None. This behaviour doesn’t seem to be documented, and there is no warning or error message.
mne_bids.BIDSPath(root='/mypath', subject='1', processing='filt', suffix=None, extension='.fif')
sappelhoff
(Stefan Appelhoff)
April 17, 2024, 2:27pm
2
I also find this a bit unexpected, would you be willing to open an issue for this and supply a fix as a PR?
richard
(Richard Höchenberger)
April 18, 2024, 7:44am
3
This BIDSPath also doesn’t contain a task
, which is a required entity. So I’d say an error should be raised here anyway…
1 Like
olafhauk
(Olaf Hauk)
April 18, 2024, 4:58pm
4
Happy to raise an issue, but I haven’t contributed to the BIDS yet and don’t think I can contribute a PR any time soon.