You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-15
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
For more details on installing libraries for specific editors, go to the [GitHub Page](https://mooerslab.github.io/pymolsnips/).
6
6
7
-
## GIF of the application (Demo)
7
+
## Animated demo of snippet use in Visual Studio Code
8
8
9
9
<p>The animation below demonstrates the use of the <b>ao</b> tab trigger in the text editor <em>Visual Studio Code</em> to insert 16 lines of code for generating the ambient occlusion effect.
10
10
Two-levels of cascading menus appear.
@@ -23,6 +23,7 @@ There is not an option in a pulldown menu in PyMOL to make such an image: A scri
23
23
24
24
This code can be applied to any molecular object in PyMOL's veiwport, not just RNA.
25
25
26
+
If you are not ready to write PyMOL scripts, please consider using pymol shortcuts to enhance your productivity in PyMOL interactive sessions.
26
27
27
28
## Application Description
28
29
@@ -33,8 +34,7 @@ This page takes several seconds to load due to a large number of animated gifs.
33
34
The page has the content of the old *README.md* referred to in the associated manuscript.
34
35
The old *README.md* file was moved to the webpage on 25 November 2020.
35
36
36
-
37
-
## Table of Contents
37
+
<aid="table-of-contents"><h2>Table of Contents</h2></a>
38
38
39
39
*[Tech Stack](#technology-stack)
40
40
*[Installation](#installation)
@@ -56,39 +56,47 @@ The old *README.md* file was moved to the webpage on 25 November 2020.
56
56
| PyMOL 2.4 | Molecular graphics program |
57
57
| Python 3.7 | Programming language |
58
58
59
-
Some of the snips have Python3 code.
60
-
If you are using an ancient version of PyMOL that relies on Python2, you can buy a license to the current version of PyMOL, install a free open-source version of PyMOL that depends on Python3 (See the PyMOL Wiki), or you can rewrite the code to be Python2 compliant.
59
+
Some of the snippets have Python3 code.
60
+
If you are using an ancient version of PyMOL that relies on Python2, you can buy a license to the current version of PyMOL, install a free open-source version of PyMOL that depends on Python3 (See the PyMOL Wiki), or you can rewrite the snippet's code to be Python2 compliant.
61
+
This often merely involves replacing print statements in Python2 with print() functions in Python3.
61
62
Note that multiple versions of PyMOL can operate side-by-side on a computer: You do not have to delete that ancient version of PyMOL.
63
+
[Return to Table of Contents](#table-of-contents)
64
+
62
65
63
66
<aid="installation"><h2>Installation</h2></a>
64
67
65
-
Unfortunately, GitHub does not yet provide an easy way to download part of repository.
66
-
It is easist to download the whole repository, pull out the parts that you need, and delete the rest.
67
-
Setting up and maintaining 18 separate repositories was too unwieldly.
68
+
Unfortunately, GitHub does not yet provide an easy way to download part of a repository.
69
+
It is easier to download the whole repository, pull out the parts that you need, and delete the rest.
70
+
Setting up and maintaining 18 separate repositories was too unwieldy.
68
71
69
72
Download all of the libraries by using the command `git clone https://github.com/MooersLab/pymolsnips.git` in a terminal window if you have *git* installed.
70
-
Alternatively you download all of the libraries as a zip file by clicking on the green **code** button above.
73
+
Alternatively, you download all of the libraries as a zip file by clicking on the green **code** button above.
71
74
72
75
See the [GitHub Page](https://mooerslab.github.io/pymolsnips/) for installation instructions for a specific text editor.
0 commit comments