Upgrade From 20x » History » Revision 8
« Previous |
Revision 8/16
(diff)
| Next »
Eric Hou, 10/28/2010 02:34 PM
Upgrade From 2.0.x¶
Download myami 2.1.x source code¶
Download myami (contains Appion and Leginon) using one of the following options:
Option 1: 3.4 version (Current release)¶
- We have switched to git for version control.
git clone -b myami-3.4 https://emg.nysbc.org/git/myami myami
Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.
Option 2: beta-release version (Used and updated at NRAMM daily with newest features that may not yet documented)¶
- We have switched to git for version control.
git clone -b myami-beta https://emg.nysbc.org/git/myami myami
Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.
Option 3: Development version (For true developer to play with)¶
- We have switched to git for version control recently. trunk and future release branches will be available with git clone
- unstable with latest features
This contains features that may still be under development. It is not supported and may not be stable. Use at your own risk.
git clone -b trunk https://your_redmine_username@emg.nysbc.org/git/myami myami
- your_redmine_username is required if you intend and have permission to push changes to our repository. Please ask the development team if you would like to contribute.*
Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.
Install Appion Packages¶
Install all the myami python packages except appion using the following script:¶
cd /your_download_area/myami sudo ./pysetup.sh install
That will install each package, and report any failures. To determine the cause of failure, see the generated log file "pysetup.log". If necessary, you can enter a specific package directory and run the python setup command manually. For example, if sinedon failed to install, you can try again like this:
cd /your_download_area/myami/sinedon sudo python setup.py install
Install the Appion python package¶
Important: You need to install the Appion 2.1.x packages to the same location that you installed 2.0.x packages. You may have used a flag shown below --install-scripts=/usr/local/bin in your original installation. If you did, you need to use it this time as well. You can check if you installed your packages there by browsing to /usr/local/bin and looking for ApDogPicker.py. If the file is there, you should use the flag. if the file is not there, you should remove the flag from the command to install Appion to the default location.
The pysetup.py script above did not install the appion package. Since the appion package includes many executable scripts, it is important that you know where they are being installed. To prevent cluttering up the /usr/bin directory, you can specify an alternative path, typically /usr/local/bin, or a directory of your choice that you will later add to your PATH environment variable. Install appion like this:
cd /your_download_area/myami/appion sudo python setup.py install --install-scripts=/usr/local/bin
Run Database Update Script¶
Running the following script will correct a problem that affects Leginon users. See issue #942 for more information.
cd /your_download_area/myami/dbschema python leginondbUpdate-r14897.py
Updated by Eric Hou about 14 years ago · 8 revisions