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

    1. From Foghorn or Leghorn, run cygwin (usually on the desktop)

    2. 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:

    3. cd c:\

    4. cd documents\ and\ settings

    5. cd vhlab

    6. cd my\ documents

    7. cd vhtools

  1. bzr pull sftp://USERNAME@kfc.bio.brandeis.edu//Volumes/DataDrive1/SoftwareDistribution/vhtools-dev

    1. (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):

  1. cd ..

  2. mv vhtools vhtools-bkup-YEAR-MO-DY

  3. bzr branch sftp://USERNAME@kfc.bio.brandeis.edu//Volumes/DataDrive1/SoftwareDistribution/vhtools-dev

  4. mv vhtools-dev vhtools

B) REFRESH MATLAB BY EITHER QUITTING MATLAB AND OPENING IT AGAIN, OR, ON THE COMMAND LINE, TYPE clear mex; startup