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
+14-20Lines changed: 14 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,6 @@ Paste the above reformated [`set_view()`](http://pymolwiki.org/index.php/Set_Vie
49
49
50
50
###What is the roundview() function?
51
51
52
-
53
52
The Python script roundview.py includes the function `roundview()` that reformats the viewing port settings from seven rows to one row. The more compact format from roundview() is easy to copy and paste onto the command line. Other commands that are separated by semicolons can be added to the command line along with the settings. This defines a horiontal script. The script can include commnents that are isolated by semicolons. The horizontal script can be edited and tested repeatedly within PyMOL for many cycles without using an external text editor. This saves time during the development of a new molecular scene. The cursor can be moved around quickly on the command line with the readline commands:
54
53
55
54
***cntrl-a** moves cursor to the beginning of the line
@@ -59,21 +58,16 @@ The Python script roundview.py includes the function `roundview()` that reformat
Requires a molecular object loaded into an interactive session of PyMOL. Does not
66
-
require any modules outside of two in PyMOL. Should work on all versions of PyMOL.
63
+
Requires a molecular object loaded into an interactive session of PyMOL. Does not require any modules other than two in PyMOL. Should work on all versions of PyMOL.
67
64
Tested on:
68
65
* Ubuntu 14.04 64 bit with PyMOL 1.7.2.2.
69
66
* Windows 8 32 bit running PyMOL 1.7.6.2 and PyMOL 1.7.6.6.
70
67
* Mac OSX 10.10.5 64 bit running PyMOL 1.5.0.5, 1.7.6.6 (via macports), and 1.8.0.5.
71
68
72
-
We tried to make the code backward compatible to PyMOL 1.5. We do not gaurantee that this
73
-
code works with earlier versions of PyMOL. Nor do we guarantee that the code will
74
-
not fail in future versions of PyMOL. In PyMOL version 1.6, there were
75
-
several changes that reduced backward compatibility. We also do not guarantee that
76
-
the code will work if you install in a way that is different from the methods that we describe below.
69
+
We tried to make the code backward compatible to PyMOL 1.5. We do not gaurantee that this code works with earlier versions of PyMOL. Nor do we guarantee that the code will not fail in future versions of PyMOL. In PyMOL version 1.6, there were
70
+
several changes that reduced the backward compatibility. We also do not guarantee that the code will work if you install the code in a location that is different from that described below.
77
71
78
72
###Instructions
79
73
@@ -123,14 +117,13 @@ There are at least four different ways of loading the script into PyMOL:
123
117
```py
124
118
run roundview.py
125
119
```
126
-
Please note that the "run" command just loads the script into PyMOL. It does not execute it. Now the roundview command is available by typing "roundview", and the on-line documentation is available by typing "roundview".
120
+
Please note that the "run" command just loads the script into PyMOL. It does not execute it. Now the roundview() command is available by typing "roundview", and the on-line documentation is available by typing "roundview".
127
121
128
122
2. load [`roundview.py`](./roundview.py) with the plugin manager (see plugin pulldown) in PyMOL
129
123
130
-
3. copy [`roundview.py`](./roundview.py) to safe folder that will not be deleted when you delete PyMOL. I use `~/Scripts/PyMOLScripts/`. Then load into PyMOL using method 1 or 2.
124
+
3. copy [`roundview.py`](./roundview.py) to a safe folder that will not be deleted when you delete PyMOL. I use `~/Scripts/PyMOLScripts/`. Then load roundview() into PyMOL using method 1 or 2.
131
125
132
-
4. create or edit the hidden file `.pymolrc` (`pymolrc.pml` and not hidden on Windows) text file in the home directory so that it includes the following lines so that roundview.py is always loaded upon startup. This option also works without the first two lines.
133
-
126
+
4. create or edit the hidden text file `.pymolrc` (named `pymolrc.pml` and not hidden on Windows) in the home directory so that it includes the following lines so that `roundview.py` is always loaded upon startup. This option also works without the first two lines.
0 commit comments