Hi! Was wondering if I could already delete the uploaded file that I shared. Also, thit it work?
On the other hand I tried to load that data in a Linux PC with:
raw = mne.io.read_raw_ctf(file_path, system_clock='ignore')
OUT:
ds directory : /home/usuario/Desktop/MEGEYEHS/MEGEYEHS_scripts/15909001_MatiasIson_20220530_02.ds
res4 data read.
hc data read.
Separate EEG position data file read.
Quaternion matching (desired vs. transformed):
0.42 68.31 0.00 mm <-> 0.42 68.31 0.00 mm (orig : -53.00 45.90 -248.52 mm) diff = 0.000 mm
-0.42 -68.31 0.00 mm <-> -0.42 -68.31 0.00 mm (orig : 45.10 -49.18 -246.57 mm) diff = 0.000 mm
83.73 0.00 0.00 mm <-> 83.73 -0.00 0.00 mm (orig : 53.82 58.80 -242.95 mm) diff = 0.000 mm
Coordinate transformations established.
Polhemus data for 3 HPI coils added
Device coordinate locations for 3 HPI coils added
2 extra points added to Polhemus data.
Measurement info composed.
Traceback (most recent call last):
File "/usr/lib/python3.8/code.py", line 90, in runcode
exec(code, self.locals)
File "<input>", line 1, in <module>
File "/home/usuario/Desktop/MEGEYEHS_Test/lib/python3.8/site-packages/mne/io/ctf/ctf.py", line 66, in read_raw_ctf
return RawCTF(directory, system_clock, preload=preload,
File "<decorator-gen-223>", line 12, in __init__
File "/home/usuario/Desktop/MEGEYEHS_Test/lib/python3.8/site-packages/mne/io/ctf/ctf.py", line 143, in __init__
info, preload, first_samps=first_samps,
UnboundLocalError: local variable 'first_samps' referenced before assignment
So now I don’t even get to read the data. I tried creating a fresh environment and reinstalling mne and the same error came up. Do you know what could be causing this?
I found this post where @mscheltienne said to try it on a fresh environment but it didn’t work in my case.
The pc specs:
mne.sys_info()
OUT:
Platform: Linux-5.13.0-44-generic-x86_64-with-glibc2.29
Python: 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
Executable: /home/usuario/Desktop/MEGEYEHS_Test/bin/python
CPU: x86_64: 16 cores
Memory: 31.1 GB
mne: 1.0.3
numpy: 1.22.4 {}
scipy: 1.8.1
matplotlib: 3.5.2 {backend=TkAgg}
sklearn: Not found
numba: Not found
nibabel: Not found
nilearn: Not found
dipy: Not found
cupy: Not found
pandas: Not found
pyvista: Not found
pyvistaqt: Not found
ipyvtklink: Not found
vtk: Not found
PyQt5: Not found
ipympl: Not found
pooch: v1.6.0
mne_bids: Not found
mne_nirs: Not found
mne_features: Not found
mne_qt_browser: Not found
mne_connectivity: Not found
Thanks again!