This tool allows loading your CSV table and explore it with your web browser. It is useful in one-by-one qc analysis by scrolling line by line and rating using dropdown menu. Results can be saved as the new CSV table.
Find table viewer in lobi-mri-scripts repo
Run with: python -m http.server --cgi
and go to localhost:8000
Hints:
freeview -v $SUBJECTS_DIR/$subj/mri/T1w.mgz
. Use $subj to be replaced by the respective labels../imgs
if exist. You can change image type to be displayed in the first line of script.css (default SVG)Example for group_bold.tsv (mriqc for BOLD images):
awk -F'\\t' 'NR==1 {for(i=1; i<=NF; i++) print i". " $i}' group_bold.tsv
cut -f 1,12,20,45 group_bold.tsv | tr '\\t' ',' > data.csv
python -m http.server --cgi
and go to localhost:8000python -m http.server 8001
and Run command as following open localhost:8001/$subj.html
find ./mriqc -iname *desc-zoomed_bold.svg -exec cp {} ./table-viewer/imgs \\;
, rename them (remove desc-zoomed) to match subjects’ ids and adjust visibility.