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

/data/predict1 sync #31

Open
speroNCIRE opened this issue Jan 28, 2023 · 2 comments
Open

/data/predict1 sync #31

speroNCIRE opened this issue Jan 28, 2023 · 2 comments

Comments

@speroNCIRE
Copy link

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
Copy link
Contributor

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.

eeg-qc-dash/app.py

Lines 355 to 360 in e757b29

# initialize scores
if f'{sub}_{ses}' not in props:
# score
props[sub_ses]=-9
# comment
props[sub_ses+'-1']=''

@speroNCIRE
Copy link
Author

It's not urgent. Sounds good. Thanks.

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

No branches or pull requests

2 participants