Closed espenhgn closed 3 years ago
Thank you for your comments! We updated the example notebooks in 1725a2706f730aedd3328febd0f7c9cbd6b0e174.
Thank you for your comments! We updated the example notebooks in 1725a27.
Sounds good!
I can now (SHA:f97f3ce9f8cc4d8d976715a738d069532efae3df) run all the example notebooks without crashes and similar.
But in ECG_Analysis_Example.ipynb
I do get a bunch of NaN values in the output dataframes around here:
Is that the expected output due to missing datapoints or similar?
Hi @espenhgn , yes, that's the expected output because the ECG sequences are too short to compute certain HRV parameter. The same warning is also produced for the example in the documentation.
Hi @espenhgn , yes, that's the expected output because the ECG sequences are too short to compute certain HRV parameter. The same warning is also produced for the example in the documentation.
Ok, thanks for the clarification. Then I think this issue can be closed!
There are several errors and issues with the provided example notebooks:
ECG_Processing_Example.ipynb
: throws an error at the linefig, axs = ecg.plotting.ecg_plot(ep, key='Data', figsize=(10,5))
;NameError: name 'ecg' is not defined
ECG_Analysis_Example.ipynb
fails on linedisplay_dict_structure(study_data_dict)
because of the above error inECG_Processing_Example.ipynb
(no results to load).EEG_Example.ipynb
: Please add some documentation of what functionality this notebook is supposed to demonstrate. Some time series are shown but it’s not very clear what is going on.Log_Data_Example.ipynb
; ditto.Protocol_Example.ipynb
fails because of the above error inECG_Processing_Example.ipynb
(no results to load)Questionnaire_Example.ipynb
: Incorporating purposely failing code (pss = bp.questionnaires.pss(data_pss)
resulting inValueRangeError …
) in the notebook, I don’t think that’s a good idea whatsoever (prevents running all cells and such). One could capture the error in a more controlled manner.SklearnPipelinePermuter_Example.ipynb
: Throws an errorNameError: name 'datasets' is not defined
on linebreast_cancer = datasets.load_breast_cancer()
StatsPipeline_Plotting_Example.ipynb
: Typo “cortsol”STROOP_Example.ipynb
: Crashes at linestroop.hr_ensemble_plot(data=dict_phase,figsize=(10,8),ylims=(40,120))
withTypeError: hr_ensemble_plot() missing 1 required positional argument: 'ensemble_id'
Linked issue: https://github.com/openjournals/joss-reviews/issues/3702