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  

|
December 18, 2014 11:01AM
@Daniel, I have no .bashrc or .profile, just .tcshrc. Perhaps I'm being a bit Homer with his hand stuck in the vending machine here. I could take the path of least resistance and duplicate my .tcshrc as a .bashrc. This would indeed make the problem go away.

@Isaac, interestingly, I don't get the same output:

idewitt@wernicke [1] setenv test val
idewitt@wernicke [2] echo $test
val
idewitt@wernicke [3] sh -C 'echo $test'
sh: echo $test: No such file or directory
idewitt@wernicke [4] sh
sh-3.2$ echo $test
val
sh-3.2$ exit
exit
idewitt@wernicke [5] sh -C
sh-3.2$ echo $test
val

This is a bit beyond me. I would have thought "sh -C 'echo $test'" would yield the same result as "sh -C" followed by "echo $test" in the sub-shell. Also, it is clarifying to note "sh -C 'echo $test'" fails for me but not for you. I'm starting to think my shell behavior is a bit aberrant, suggestive of some self-inflicted wound. I'm not sure where or what though.

As a work around, I've gone and changed my subprocess.py. In it, I discovered the setting of /bin/sh as default is not done my query to the system for either a system or user default but by hardcode so, I set it from /bin/sh to /bin/tcsh. This seems to do the trick in a way that, while subject to need for occasional maintenance, will be at least as enduring as my python install, not pretty but acceptable.



Edited 3 time(s). Last edit at 12/18/2014 05:26PM by iain.
Subject Author Posted

align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 12, 2014 11:03AM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

Daniel Glen December 12, 2014 11:49AM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

Isaac Schwabacher December 12, 2014 12:10PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 12, 2014 06:28PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 12, 2014 06:22PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 15, 2014 02:09PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

Daniel Glen December 16, 2014 03:15PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 17, 2014 02:45PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

Daniel Glen December 17, 2014 04:55PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

Isaac Schwabacher December 17, 2014 06:04PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 18, 2014 11:01AM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 18, 2014 11:18AM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 18, 2014 11:39AM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

Isaac Schwabacher December 18, 2014 11:42AM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

Isaac Schwabacher December 18, 2014 12:47PM

Re: align_epi_anat.py TypeError: float() argument must be a string or a number

iain December 18, 2014 09:24PM