mne-tools / mne-tools/mne-python
RuntimeError: The time unit None is not supported by MNE. Please report this error as a GitHub issue to inform the developers.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 1.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 100
Description
Description of the problem
Hello,
I am writing to request help for loading snirf derivates (ie preprocessed in HOMER3) into mne which seems to not work with the mne.io.read_raw_snirf function since I am getting the error: "RuntimeError: The time unit None is not supported by MNE. Please report this error as a GitHub issue to inform the developers.".
Thanks in advance for your help.
Best regards,
Sélima
Steps to reproduce
1) exported derivate snirf from HOMER3
2) imported derivate snirf into mne:
raw = mne.io.read_raw_snirf('C:/OneDrive/Twilight 1/Results/Oxysoft/Epochs/S'+participants[i]+'.snirf',
optode_frame='C:/OneDrive/fNIRS devices/Important OxySoft Files/optodetemplates.xml',preload=True)
Link to data
No response
Expected results
ProcStreamFunctionsSummary.txt
S01_processing.json
Actual results
Additional information
NA
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the mne.io.read_raw_snirf entry point and inspect the attached ProcStreamFunctionsSummary.txt and S01_processing.json for the time-unit metadata. Reproduce the failure with the HOMER3-derived SNIRF file if it can be obtained; done means the loader no longer raises this RuntimeError for the reported input, with regression coverage for the case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100