#created 5/22/17 to automate “3dbucket -prefix ceof.A000442.nii’stats.A000442+tlrc[1,4,7]'” for labeled V1 #must be run from /flash/whalen/DBURR/WHICHFEARREP/SUBJECTS/DAY2TASK/
I actually just pasted the the output from a different set of subjects, but it was the exact same message.
So basically, I get that message for every subject in the script, no matter what subject I put in:
Script:
#!/bin/tcsh
#created 5/22/17 to automate “3dbucket -prefix ceof.A000442.nii’stats.A000442+tlrc[1,4,7]'” for labeled V1 #must be run from /flash/whalen/DBURR/WHICHFEARREP/SUBJECTS/DAY2TASK/
Let’s try to clarify this. From the DAY2TASK directory,
what is the output of this command?
find . name ‘stats.A000488+tlrc*’
Keep in mind that “3dbucket” is not important here.
You are just having trouble with directories and file
names. It would be good for you to try to run the
script by hand (typing in one command at a time),
mixed with some ‘ls’ commands to see what is where.
First locate the exact files using ‘ls’, and then use
that naming in the script.
Yup, the script is working by hand and correctly outputs
coef.A000441.nii
I ran find . name ‘stats.A000488+tlrc*’ it outputs
find: `stats.A000488+tlrc*': No such file or directory
Definitely having trouble with file names and directories because I also am getting this error
A000441.ulresults_fixalignment: No such file or directory.
for this script (below), even though it works by hand as well
for #!/bin/tcsh
#created 5/22/17 to automate “3dbucket -prefix ceof.A000442.nii’stats.A000442+tlrc[1,4,7]'” for unlabeled #must be run from /flash/whalen/DBURR/WHICHFEARREP/SUBJECTS/DAY2TASK/
Sorry Daisy, somehow I missed the ‘-’ before
the -name option, it should have read:
find . -name ‘stats.A000488+tlrc*’
Or you can type ‘ls’ command until finding the
proper datasets. But the find command should
point them out.
rick
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.