You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
index 167749 is out of bounds for axis 0 with size 153001
File "/home/zhouj/osl/osl/preprocessing/batch.py", line 737, in run_proc_chain
dataset = func(dataset, userargs)
File "/home/zhouj/osl/osl/preprocessing/osl_wrappers.py", line 355, in run_osl_bad_segments
dataset["raw"] = detect_badsegments(dataset["raw"], **userargs)
File "/home/zhouj/osl/osl/preprocessing/osl_wrappers.py", line 177, in detect_badsegments
onsets_secs = raw.first_samp/raw.info["sfreq"] + XX_times[onsets.astype(int)]
And I tried running the same code with this config (i.e., removed the bad segment detection using mode=None)
Looks like this issue has been resolved in the latest code. @yingjoeyzhou try git pull to get the latest code and reopen this issue if you're still getting an error. If not, please delete
The following config
returned the following error
And I tried running the same code with this config (i.e., removed the bad segment detection using
mode=None
)the preprocessing was successful!
I have slacked @matsvanes and the data to reproduce this bug is in a temporal folder
4Mats
underknobre
on hbaws.The text was updated successfully, but these errors were encountered: