Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

a1_prepare_preprocessing_START.sh 810 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. mkdir ./logs
  3. rootpath="$(pwd)/../.."
  4. rootpath=$(builtin cd $rootpath; pwd)
  5. for subj in $(seq 1 33); do
  6. # if not been performed yet
  7. if [ ! -f ${rootpath}/data/outputs/eeg/sub-$(printf "%03d" ${subj})*_raw.mat ]; then
  8. echo "step not performed yet for this subject"
  9. echo "#!/bin/bash" > job.slurm
  10. echo "#SBATCH --job-name eegmp_prep_${subj}" >> job.slurm
  11. echo "#SBATCH --cpus-per-task 4" >> job.slurm
  12. echo "#SBATCH --mem 8gb" >> job.slurm
  13. echo "#SBATCH --time 01:00:00" >> job.slurm
  14. echo "#SBATCH --output ./logs/eegmp_prep_${subj}.out" >> job.slurm
  15. echo "#SBATCH --workdir ." >> job.slurm
  16. echo "./a1_prepare_preprocessing_run.sh /opt/matlab/R2016b ${subj} ${rootpath}" >> job.slurm
  17. sbatch job.slurm
  18. rm -f job.slurm
  19. fi
  20. done