Stanford-STAGES / stanford-stages

Automated sleep staging scoring and narcolepsy identification
76 stars 26 forks source link

Is CHP040.edf created or imported? #38

Closed Victor2100 closed 1 year ago

Victor2100 commented 1 year ago

Hi I have some issue running the code. When I run the code line:

import run_stanford_stages run_stanford_stages.run_using_json_file(json_file='/path/to/stanford_stages.json')

I get the following message:

1 .edf files listed in json file (C:\Users\Grati\stanford-stages\stanford_stages.json) for processing. Output folder is: C:\Data\ml\results 001 / 001: CHP040.edf RunStagesError: edf_file is not a file (C:\Data\ml\CHP040.edf) 1 edf files processed in 0.0 minutes. 0 processed successfully 1 had errors The following file(s) failed: C:/Data/ml/CHP040.edf

And I can't figure it out if I need the file CHP040.edf or if the CHP040.edf is created and does not contain any information? I thought it is a file maybe from the ac.zip, but the link to the ac.zip does not work, so I can't check if that is true. So is the CHP040.edf file something that you need to have to run the program and if so how to get it?

Thank you for the code and the nice installation guide!

Kind regards Victor