AMP-SCZ / qqc

Checking signals in the AMP-SCZ phantom
https://phantom-check.readthedocs.io/en/latest/
Apache License 2.0
0 stars 1 forks source link

init: mri_count initiated #33

Closed kcho closed 1 year ago

kcho commented 1 year ago

Initiated for https://github.com/AMP-SCZ/qqc/issues/32

kcho commented 1 year ago

In this PR, the python codes that count MRI and EEG files were added to QQC module. These codes were initially developed in the partners jupyterhub, and these are moved under QQC because we need to run the functions daily.

The shell executable python code qqc/scripts/dpacc_count.py, will be added to the cronjob

kcho commented 1 year ago

Cronjob added

crontab -e
# 7: 10 AM
# MRI and eeg count
10 7 * * * PYTHONPATH=/data/predict1/home/kcho/software/tmp/qqc:${PYTHONPATH} BASH_ENV=/PHShome/kc244/preload.sh /data/pnl/kcho/anaconda3/bin/python /data/predict1/home/kcho/software/tmp/qqc/scripts/dpacc_count.py > /dev/null 2>&1