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

Feature request: integrate auto QC scores to dashboard #37

Open
tashrifbillah opened this issue Jul 5, 2024 · 2 comments
Open

Feature request: integrate auto QC scores to dashboard #37

tashrifbillah opened this issue Jul 5, 2024 · 2 comments

Comments

@tashrifbillah
Copy link
Contributor

Copying @speroNCIRE 's summary of auto QC score integration. This reflects the original discussion we had in AMP-SCZ annual meeting.

image

Currently, I am working on an idea to integrate auto QC scores to the .scores.pkl every night. If that could be done, existing dashboard would just show auto QC scores without requiring any modification.

@tashrifbillah
Copy link
Contributor Author

Algorithm:

  • parse filename to get 7 digit subject ID
  • read file, obtain session ID
  • construct dictionary key {subject}_{session}
  • check if value for that key is -9 in .scores.pkl
    • if there is an auto QC score in that line {10,13,14}, replace -9 with that score
  • save .scores.pkl back

@tashrifbillah
Copy link
Contributor Author

Synchronization:

  1. Currently, there is a VM-->ERIS .scores.pkl rsync.
  2. Ideally, after Spero writes the auto QC scores, we should populate them in the .scores.pkl.
  3. Soon after populating, it should be copied back to the VM
  4. Currently, only DPACC users can write scores. We can time the 3rd step according to their sleep time
  5. Non-DPACC users will experience the lag of 'one refresh' during the copy back. Write after they refresh, they should see new auto QC scores.

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

1 participant