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
 findexp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

petty
BIAC Staff

USA
453 Posts

Posted - Feb 14 2011 :  12:16:47 PM  Show Profile  Reply with Quote
I just updated findexp.m to deal with a new data structure for our experiments file.

In the process i added functionality so that it will also work on the interactive nodes of the cluster.

findexp will either return a unc path on windows, or a full path on linux. The linux part is currently valid if you are mounting with mntshare (ie: mntshare //server/share)

If running as a batch job on the compute nodes, then the easist way to get your mount path is: getenv('EXPERIMENT') <-- this is inside of matlab

when you submit with a valid experiment, this environmental variable gets set with your mount path already.

I should also note that you can also find your "Lab" directory's path. For instance if members of Dr. Morey's lab would like to return the path to their Lab folder, then "findexp MoreyLab" would provide the correct path.


please let us know if there are any issues.

Edited by - petty on Feb 14 2011 12:20:04 PM
  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.61 seconds. Snitz Forums 2000