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  

|
September 24, 2014 06:32PM
Hi -

3dhistog is giving weird complaints when I shell script it from the cmd line in bash. Here's what I type:

for i in *.nii; do 3dhistog $i | head -2 | tail -1; done
and here's what it says:
++ 3dhistog: AFNI version=AFNI_2011_12_21_1014 (Aug 23 2014) [64-bit]

Fatal Signal 13 (SIGPIPE) received
  3dhistog
 Bottom of Debug Stack
** AFNI version = AFNI_2011_12_21_1014  Compile date = Aug 23 2014
** [[Precompiled binary linux_openmp_64: Aug 23 2014]]
** Program Abort **
** If you report this crash to the AFNI message board,
** please copy the error messages EXACTLY, and give
** the command line you used to run the program, and
** any other information needed to repeat the problem.
** You may later be asked to upload data to help debug.
    0.000000        432102        432102
Noteworthy is that it seems to actually work, as can be seen in the last line -- it just gets frightened and confused when I loop through files in bash. I'm not sure if this is 3dhistog being weird, or bash doing something weird with signaling in loops, or what. But I figured I'd mention it.
Subject Author Posted

Issue report: 3dhistog in bash looping

shanusmagnus September 24, 2014 06:32PM

Re: Issue report: 3dhistog in bash looping

rick reynolds September 24, 2014 09:07PM

Re: Issue report: 3dhistog in bash looping

shanusmagnus September 24, 2014 10:08PM

Re: Issue report: 3dhistog in bash looping

rick reynolds September 24, 2014 10:34PM

Re: Issue report: 3dhistog in bash looping

Isaac Schwabacher September 25, 2014 11:01AM

Re: Issue report: 3dhistog in bash looping

Emperor Zhark September 25, 2014 04:23PM

Re: Issue report: 3dhistog in bash looping

Isaac Schwabacher September 26, 2014 10:30AM