AMP-SCZ / eeg-qc-dash

Plotly/Dash based web application for checking quality of EEGs
Apache License 2.0
2 stars 1 forks source link

/data/predict1 sync #31

Open speroNCIRE opened 1 year ago

speroNCIRE commented 1 year ago

There are some files on the web app, that no longer exist on /data/predict1 that need to be removed. e.g. PA01260 originally had the wrong interview date entered in their run sheet, which caused run sheets with the wrong date (10/25/2022) to get uploaded to the web app. The error was fixed in redcap and now the correct date displays properly in the web app, but an empty line of figures remains for the wrong date. It might be a good idea to have the web app's png files exactly match /data/predict1. There are times when it's necessary to delete some figures, and it's can be confusing when they still appear on the dashboard.

tashrifbillah commented 1 year ago

Hi Spero, you made a valid point. I realize that I cumulatively add subjects to the database that renders images in the web app but do not discard obsolete ones. Let's work on it after two weeks unless it is urgent.

https://github.com/AMP-SCZ/eeg-qc-dash/blob/e757b29a61efc056aa89a17815071db7317a7487/app.py#L355-L360

speroNCIRE commented 1 year ago

It's not urgent. Sounds good. Thanks.