Updating software on Foghorn or Leghorn
Follow these steps to update our software on Foghorn or Leghorn (requires having an account on KFC):
A) INSTALL THE SOFTWARE
From Foghorn or Leghorn, run cygwin (usually on the desktop)
At the prompt, you'll need to change the working directory to be where our tools are kept. I only know how to do this with a sequence of cd commands:
cd c:\
cd documents\ and\ settings
cd vhlab
cd my\ documents
cd vhtools
bzr pull sftp://USERNAME@kfc.bio.brandeis.edu//Volumes/DataDrive1/SoftwareDistribution/vhtools-dev
(when prompted, enter your KFC password)
IF, AND ONLY IF, STEP 3 produces an error that specifically says the "branches have diverged" (for other errors, check your work or ask Steve) then perform the following steps immediately after step 3 above (this will install a fresh version instead of trying to update from what was there):
cd ..
mv vhtools vhtools-bkup-YEAR-MO-DY
bzr branch sftp://USERNAME@kfc.bio.brandeis.edu//Volumes/DataDrive1/SoftwareDistribution/vhtools-dev
mv vhtools-dev vhtools
B) REFRESH MATLAB BY EITHER QUITTING MATLAB AND OPENING IT AGAIN, OR, ON THE COMMAND LINE, TYPE clear mex; startup