Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
miloswrath committed Sep 4, 2024
1 parent b4e49ac commit 387c12c
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,24 @@ jobs:
- name: run quality control
run: |
for sub in ${sub}; do
for task in ${task}; do
for vers in ${vers}; do
python ./code/AFqC.py -s ./data/${sub}/processed/${sub}_${task}_${vers}.csv -o ./data/${sub}/ -sub ${sub} | tee ./data/${sub}/qc_${task}_${vers}.log
echo "QC for ${sub}_${task}_${vers} running"
done
echo "Processing subject: $sub"
for task in ${task}; do
echo "Processing task: $task"
for vers in ${vers}; do
echo "Processing version: $vers"
csv_file="./data/${sub}/processed/${sub}_${task}_${vers}.csv"
log_file="./data/${sub}/qc_${task}_${vers}.log"
echo "CSV file: $csv_file"
echo "Log file: $log_file"
if [ -f "$csv_file" ]; then
python ./code/AFqC.py -s "$csv_file" -o "./data/${sub}/" -sub "$sub" | tee "$log_file"
echo "QC for ${sub}_${task}_${vers} running"
else
echo "CSV file $csv_file does not exist"
fi
done
done
done
push:
runs-on: self-hosted
Expand Down

0 comments on commit 387c12c

Please sign in to comment.