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
I'm trying to run your program with edf and txt file extracted from RemLogic. We are working for a Swiss University Hospital.
I'm getting the following error:
### 25.04.2023 10:44:17 ### edf: C:\Users\emp8124242\dev\RBDtector\Data\Test_AM_10_20_230216_(1).edf
### 25.04.2023 10:48:04 ### Unexpected error in file C:/Users/emp8124242/dev/RBDtector/Data:
'sleep_profile'
, ### 25.04.2023 10:48:04 ### Traceback (most recent call last):
File "C:\Users\emp8124242\dev\RBDtector\RBDtector\app_logic\PSG_controller.py", line 110, in single_psg_run
PSGController.run_rbd_detection(input_path, output_path)
File "C:\Users\emp8124242\dev\RBDtector\RBDtector\app_logic\PSG_controller.py", line 26, in run_rbd_detection
raw_data, annotation_data = ir.read_input(directory_name=input_path,
File "C:\Users\emp8124242\dev\RBDtector\RBDtector\input_handling\input_reader.py", line 48, in read_input
annotation_data: AnnotationData = __read_txt_files(filenames, read_baseline, read_human_rating)
File "C:\Users\emp8124242\dev\RBDtector\RBDtector\input_handling\input_reader.py", line 158, in __read_txt_files
sleep_profile = __read_sleep_profile(filenames['sleep_profile'])
KeyError: 'sleep_profile'
The extract of RemLogic gives us a single txt file, with all the data required to run your analysis. I believe we just need to convert into a similar format as yours. I don't mind writing a script to parse the txt file, but I would like to know what is the format of the files Sleep profile, Flow Events, Classification Arousals, Start-Baseline, and Generic.
The best would be if you would push sample files with synthetic data.
Bests
Guillaume
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to run your program with edf and txt file extracted from RemLogic. We are working for a Swiss University Hospital.
I'm getting the following error:
The extract of RemLogic gives us a single txt file, with all the data required to run your analysis. I believe we just need to convert into a similar format as yours. I don't mind writing a script to parse the txt file, but I would like to know what is the format of the files
Sleep profile
,Flow Events
,Classification Arousals
,Start-Baseline
, andGeneric
.The best would be if you would push sample files with synthetic data.
Bests
Guillaume
The text was updated successfully, but these errors were encountered: