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.

generate_1st_level_design.sh 900 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. set -e
  3. set -u
  4. cat << EOT > code/compute_1stlvl_glm.submit
  5. # auto-generate file (generate_1st_level_design.sh) -- do not modify!
  6. universe = vanilla
  7. output = condor_logs/\$(CLUSTER).\$(PROCESS).out
  8. error = condor_logs/\$(CLUSTER).\$(PROCESS).err
  9. log = condor_logs/\$(CLUSTER).\$(PROCESS).log
  10. getenv = True
  11. request_cpus = 1
  12. request_memory = 4000
  13. should_transfer_files = NO
  14. transfer_executable = False
  15. initialdir = /home/data/psyinf/forrest_gump/collection/visloc
  16. executable = \$ENV(FSLDIR)/bin/feat
  17. EOT
  18. for sub in sub-*; do
  19. subid=$(echo "$sub" | cut -d '-' -f2-)
  20. for run in $sub/onsets/run*; do
  21. runid=$(echo "$(basename $run)" | cut -d '-' -f2-)
  22. sed -e "s/###SUB###/sub-${subid}/g" -e "s/###RUN###/run-${runid}/g" code/1stlevel_design.fsf > "$sub/run-${runid}_1st.fsf"
  23. printf "arguments = $sub/run-${runid}_1st.fsf\nqueue\n" >> code/compute_1stlvl_glm.submit
  24. done
  25. done