Project

General

Profile

How to Update from v35 (Instrument Windows Computer) » History » Version 1

Anchi Cheng, 09/21/2022 11:56 AM

1 1 Anchi Cheng
h1. How to Update from v35 (Instrument Windows Computer)
2
3
h2. Preparation
4
5
Pymysql replaces MySQL-python in this version.  There is no Windows installer exe file for this.
6
7
You can find [[https://emg.nysbc.org/attachments/20299/PyMySQL-0.10.1-py2.py3-none-any.whl|PyMySQL-0.10.1-py2.py3-none-any.whl]] under Files tab at this redmine site.  Copy the file to the microscope scope if you don't have internet access on the instruments.
8
9
You will need these myami subpackages updated.
10
11
|_.Name:|_.Purpose:|
12
| leginon|modular TEM image acquisition|
13
| pyami|general functions|
14
| myami_test|test suite that is called before starting leginon|
15
| sinedon|database interaction|
16
| pyscope|microscope control and monitoring|
17
18
h2. No internet access - copy from linux Leginon workstation the python files.
19
20
If your Windows computer has no access to internet, copy from your linux processing server the git clone of myami super package of the right branch for the installation which you used to upgrade there.
21
22
See [[Download_Appion_Files|Acquiring NRAMM GIT Repository files]] for different examples and match the repository with what you do on the Linux side.
23
24
*OR*
25
26
h2. With internet access
27
28
h3. Clone the proper branch from git repository.  You will want myami-3.6
29
30
{{include(git_for_windows_cloning)}}
31
32
h2. Install
33
34
h3. Move the cloned folder according to your environment variable PYTHONPATH if you use that during the original installation.
35
36
*OR*
37
38
h3. Install to default python site-packages
39
40
* Start a command line Window from Start Menu
41
42
* Install the package in each folder (must starts with pyami)
43
<pre>cd path_to\myami-VERSION\myami\pyami
44
c:\\python27\python.exe setup.py install</pre>
45
Then continue with the other packages, replacing pyami with the package name. See the packages listed above for the complete list.
46
47
h2. Configure
48
49
[[locate global config directory on Windows]]
50
51
52
h1. FEI scopes
53
54
h2. fei.cfg
55
56
57
Compare yours_git_clone\pyscope\fei.cfg.template with your active fei.cfg.  Especially if you plan to use new featured instruments or have had a TEMServer upgrade to recent versions.
58
59
h3. If you set for your Talos column
60
61
<pre>
62
FORCE_NORMALIZE_ALL_LENS_AFTER_MAG_SETTING = True
63
</pre>
64
65
please change it to use
66
67
<pre>
68
FORCE_NORMALIZE_ALL_AFTER_SETTING = True
69
</pre>
70
71
This is more generalized and produces better results.  See Issue #7076 for more details.
72
73
h1. GatanK2Summit or K3
74
75
Compare pyscope/dmsem.cfg.template with your active dmsem.cfg There are additional configuration that you may want to add.
76
77
h1. New Features
78
79
Follow [[PyScope_Changes_35]] on the installation and setup of the specific feature you want to activate.