Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw export edf file failed #13170

Open
BEGINRX opened this issue Mar 20, 2025 · 3 comments
Open

Raw export edf file failed #13170

BEGINRX opened this issue Mar 20, 2025 · 3 comments
Labels

Comments

@BEGINRX
Copy link

BEGINRX commented Mar 20, 2025

Description of the problem

I tried to export the data to edf format file. It failed.
The code is :
raw = mne.io.read_raw_edf(r"\\NITD-NAS\bci-rw\sleep\sleep-edf-database-expanded-1.0.0\sleep-edf-database-expanded-1.0.0\sleep-cassette\SC4001E0-PSG.edf") raw.export(fname=r"E:\work\NITD\software_test\outputedf.edf", fmt="edf", physical_range="channelwise")

And the error is

Image

Steps to reproduce

raw = mne.io.read_raw_edf(r"\\NITD-NAS\bci-rw\sleep\sleep-edf-database-expanded-1.0.0\sleep-edf-database-expanded-1.0.0\sleep-cassette\SC4001E0-PSG.edf")
raw.export(fname=r"E:\work\NITD\software_test\outputedf.edf", fmt="edf", physical_range="channelwise")

Link to data

No response

Expected results

Get the edf file.

Actual results

Get the edf file.

Additional information

Error.

@BEGINRX BEGINRX added the BUG label Mar 20, 2025
Copy link

welcome bot commented Mar 20, 2025

Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴

@Saksham8540
Copy link

Hi @BEGINRX ,
I would like to work on this issue. Have you tried any other export formats, or does the error only happen with fmt="edf"? Also, could you share the exact error message to understand the problem better?

Thanks!

@BEGINRX
Copy link
Author

BEGINRX commented Mar 21, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants