AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
January 27, 2020 04:42AM
Dear Afni experts:

I recently use uber_subject.py to process my BOLD data
following is my cmd.ap file

#!/usr/bin/env tcsh

# created by uber_subject.py: version 1.2 (April 5, 2018)
# creation date: Mon Jan 27 17:34:50 2020

# set subject and group identifiers
set subj  = test
set gname = a1

# set data directory
set top_dir = /Volumes/SSUJU/NTHU_${subj}

# run afni_proc.py to create a single subject processing script
afni_proc.py -subj_id $subj                           \
        -script proc.$subj -scr_overwrite             \
        -blocks tshift volreg blur mask scale regress \
        -dsets $top_dir/${subj}.nii.gz                \
        -tcat_remove_first_trs 10                     \
        -volreg_align_to MIN_OUTLIER                  \
        -blur_size 4.0                                \
        -regress_stim_times $top_dir/sti.txt          \
        -regress_stim_labels                          \
            sti.txt                                   \
        -regress_basis 'BLOCK(20)'                    \
        -regress_censor_motion 0.3                    \
        -regress_motion_per_run                       \
        -regress_make_ideal_sum sum_ideal.1D          \
        -regress_est_blur_epits                       \
        -regress_est_blur_errts

and I run the uber_subject.py
Ii seems go well in the process
but finally it shows the following error in the last

apqc_make_tcsh.py -review_style basic -subj_dir . -uvar_json out.ss_review_uvars.json
++ Found 31 files for QCing.
Traceback (most recent call last):
  File "/Users/SJL/abin/apqc_make_tcsh.py", line 821, in <module>
    label_list=all_labels)
  File "/Users/SJL/abin/lib_apqc_tcsh.py", line 2826, in apqc_warns_cen_stim
    ntr_init_per_stim = list(ntr_init_per_stim)
TypeError: 'float' object is not iterable

Hope anyone can do me a favor, thank you!
Subject Author Posted

TypeError: 'float' object is not iterable

louislee0722 January 27, 2020 04:42AM

Re: TypeError: 'float' object is not iterable

ptaylor January 27, 2020 08:00AM

Re: TypeError: 'float' object is not iterable

louislee0722 January 27, 2020 12:12PM

Re: TypeError: 'float' object is not iterable

ptaylor January 27, 2020 01:17PM