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

QC images: populate one group at a time instead of one modality at a time #23

Closed tashrifbillah closed 1 year ago

tashrifbillah commented 2 years ago

Add:

for group in qcimg:
  for q in group.split('|')

in place of: https://github.com/AMP-SCZ/eeg-qc-dash/blob/b618b5368073092275ba67ef8b919aeb6def6da9/app.py#L369

Again, we can have both groups and individual modalities in:

[tb571@eris2n5 data_from_nda]$ cat eeg_qc_images.csv
img,default
_QCcounts,1
_QCimpedance,1
_QClineNoise,1
_QCbridge,1
...

Then we need np.unique(qcimg) before the above line to move forward. The user would be responsible to include modalities of choices at least once--by group or individually!

tashrifbillah commented 2 years ago

https://github.com/AMP-SCZ/eeg-qc-dash/commit/8195e8a69fd047a21a6fb11cc27c67f8b3e0eeaf