Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 bputil - configuration file problems
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

diaz
BIAC Alum

USA
212 Posts

Posted - Dec 02 2005 :  4:49:55 PM  Show Profile  Reply with Quote
We're trying to analyze some data with BPutil using a configuration file other than the default. I'm having trouble getting BPutil to use the file that I'm specifying. BPutil will list (and presumably use) the identical *.conf file if I move it to my home directory. I'm reticent to do this because several people may have to analyze the data and I want to limit the number of possible *.conf files we're using. There shouldn't be any problems with the *.conf file itself, because it's been successfully used with scripts previously.
The error I get is below. As you can see the file is there. I thought it might be the dash in pre-processing, but I get the same error with the folder renamed without the dash.

Thanks
Michele

Enter option (1..15): 5
Enter full path to configuration file [-1 to cancel]: ~/net/nernst/data1/birn.20/Control/pre-processing/test.conf
Configuration file ~/net/nernst/data1/birn.20/Control/pre-processing/test.conf does not exist, Try again [-1 to cancel]: -1
Returning to main menu.

[diaz@golgi: ~/net/nernst/data1/birn.20/Control/pre-processing] $ ls
44311.log 44893.log 45004.log 45062.log 45430.log
44410.log 44925.log 45005.log 45378.log 45709.log
44531.log 44927.log 45015.log 45379.log BIRN_defaults.conf
44608.log 44954.log 45026.log 45406.log batchBIRN
44757.log 44960.log 45030.log 45413.log test.conf
44824.log 44984.log 45037.log 45419.log
[diaz@golgi: ~/net/nernst/data1/birn.20/Control/pre-processing] $

Michele T. Diaz, Ph.D.
Associate Director
Brain Imaging and Analysis Center

petty
BIAC Staff

USA
453 Posts

Posted - Dec 02 2005 :  4:53:59 PM  Show Profile  Reply with Quote
i get the same error when i try to change .conf files, even though i know they are there ... however everything has to be the exact spelling.

when i cd to BIRN its all uppercase:
change your birn.20 to BIRN.20 and try that
Go to Top of Page

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Dec 02 2005 :  5:03:16 PM  Show Profile  Reply with Quote
One more thing to try is to replace the "~" with /home/diaz (or whatever your home directory is). "~" is a shortcut that is expanded by the command shell, but since you're not in your shell when you're running bputil, it might not work.
Go to Top of Page

diaz
BIAC Alum

USA
212 Posts

Posted - Dec 02 2005 :  5:17:01 PM  Show Profile  Reply with Quote
Thanks, I tried both from my home directory, but it didn't work. The error messages are below.

Enter option (1..15): 5
Enter full path to configuration file [-1 to cancel]: /home/diaz/net/nernst/data1/BIRN.20/Control/pre-processing/test.conf
Configuration file /home/diaz/net/nernst/data1/BIRN.20/Control/pre-processing/test.conf does not exist, Try again [-1 to cancel]: /home/diaz/net/nernst/Data1/BIRN.20/Control/pre-processing/test.conf
Configuration file /home/diaz/net/nernst/Data1/BIRN.20/Control/pre-processing/test.conf does not exist, Try again [-1 to cancel]: ~/net/nernst/Data1/BIRN.20/Control/pre-processing/test.conf
Configuration file ~/net/nernst/Data1/BIRN.20/Control/pre-processing/test.conf does not exist, Try again [-1 to cancel]:

Michele T. Diaz, Ph.D.
Associate Director
Brain Imaging and Analysis Center
Go to Top of Page

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Dec 02 2005 :  6:04:29 PM  Show Profile  Reply with Quote
Strange, it works for me:

Enter option (1..15): 5
Enter full path to configuration file [-1 to cancel]: /home/gadde/net/nernst/data1/BIRN.20/Control/pre-processing/test.conf
Configuration file /home/gadde/net/nernst/data1/BIRN.20/Control/pre-processing/test.conf has been set.

Are you logged into nernst using cifslogin?

BTW, anyone know how to restore my choice of configuration file to the default?
Go to Top of Page

diaz
BIAC Alum

USA
212 Posts

Posted - Dec 05 2005 :  2:44:53 PM  Show Profile  Reply with Quote
I'm logged in via CIFS. I'm nearly positive I was also logged in when I previously tried this last week (as I could cd into the BIRN.20 directories). I tried this just now, and was able to set the customized conf file. I don't think I did anything different though.

Michele T. Diaz, Ph.D.
Associate Director
Brain Imaging and Analysis Center
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.48 seconds. Snitz Forums 2000