Closed rob-luke closed 3 years ago
The SNIRF writer is requiring a birthdate. But this is only a recommended field for SNIRF.
Load a file without birthdate, then try to write it back to disk.
It writes to disk
It crashes and points to lines https://github.com/mne-tools/mne-nirs/blob/341a2f38a7bef1899f473db52eda4197627c9c81/mne_nirs/io/snirf/_snirf.py#L74-L80
Closed in #349
Describe the bug
The SNIRF writer is requiring a birthdate. But this is only a recommended field for SNIRF.
Steps to reproduce
Load a file without birthdate, then try to write it back to disk.
Expected results
It writes to disk
Actual results
It crashes and points to lines https://github.com/mne-tools/mne-nirs/blob/341a2f38a7bef1899f473db52eda4197627c9c81/mne_nirs/io/snirf/_snirf.py#L74-L80