Browse code

pymolrc - v0.1 - Add command history

Fred authored on31/03/2019 17:32:07
Showing1 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 # Title: .pymolrc
2 2
 # Author: Frédéric CHEVALIER <f15.chevalier@gmail.com>
3
-# Version: 0.0
3
+# Version: 0.1
4 4
 # Created in: 2018-08-06
5
-# Modified in: 
5
+# Modified in: 2019-03-31 
6 6
 
7 7
 
8 8
 
... ...
@@ -10,10 +10,22 @@
10 10
 # Versions #
11 11
 #==========#
12 12
 
13
+# v0.1 - 2019-03-31: add command history (stored locally)
13 14
 # v0.0 - 2018-08-06: creation
14 15
 
15 16
 
16 17
 
18
+#=========#
19
+# Options #
20
+#=========#
21
+
22
+# Command history
23
+import datetime
24
+_logdate = datetime.datetime.strftime(datetime.datetime.now(), "%y%m%d%H%M%S")
25
+cmd.log_open(filename="pymol-%s.pml"%_logdate)
26
+
27
+
28
+
17 29
 #=======================#
18 30
 # Default view settings #
19 31
 #=======================#
Browse code

pymolrc - v0.0

Fred authored on06/08/2018 11:02:27
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,28 @@
1
+# Title: .pymolrc
2
+# Author: Frédéric CHEVALIER <f15.chevalier@gmail.com>
3
+# Version: 0.0
4
+# Created in: 2018-08-06
5
+# Modified in: 
6
+
7
+
8
+
9
+#==========#
10
+# Versions #
11
+#==========#
12
+
13
+# v0.0 - 2018-08-06: creation
14
+
15
+
16
+
17
+#=======================#
18
+# Default view settings #
19
+#=======================#
20
+
21
+set seq_view, 1
22
+
23
+set use_shaders, 0
24
+set auto_show_classified, 1
25
+set auto_show_nonbonded, 0
26
+
27
+hide all
28
+show cartoon