summaryrefslogtreecommitdiff
blob: 2ecad7f21b5fdaaecdc43c7797915764b440a614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- commanding.py.old	2006-03-15 21:10:36.000000000 -0500
+++ commanding.py	2006-03-15 21:12:27.000000000 -0500
@@ -121,7 +121,7 @@
         r = DEFAULT_ERROR
         mode = int(mode)
         if mode == 1: # just show PNG
-            png_path = cmd.exp_path("$PYMOL_PATH/data/pymol/splash.png")
+            png_path = cmd.exp_path("$PYMOL_DATA/pymol/splash.png")
             if os.path.exists(png_path):
                 cmd.do("_ cmd.load_png('%s',0,quiet=1)"%png_path)
                 r = DEFAULT_SUCCESS
--- fitting.py.old	2006-03-15 21:14:01.000000000 -0500
+++ fitting.py	2006-03-15 21:13:24.000000000 -0500
@@ -61,7 +61,7 @@
         r = DEFAULT_ERROR
         source = selector.process(source)
         target = selector.process(target)
-        mfile = cmd.exp_path("$PYMOL_PATH/data/pymol/matrices/"+matrix)
+        mfile = cmd.exp_path("$PYMOL_DATA/pymol/matrices/"+matrix)
         if object==None: object=''
         try:
             lock()
--- importing.py.old	2006-03-15 21:15:34.000000000 -0500
+++ importing.py	2006-03-15 21:15:04.000000000 -0500
@@ -176,7 +176,7 @@
         r = DEFAULT_ERROR
         
         
-        tables = { 'cmyk' : "$PYMOL_PATH/data/pymol/cmyk.png",
+        tables = { 'cmyk' : "$PYMOL_DATA/pymol/cmyk.png",
                       'pymol' : 'pymol',
                       'rgb' : 'rgb' }
 
--- wizard/mutagenesis.py.old	2006-03-15 21:44:06.000000000 -0500
+++ wizard/mutagenesis.py	2006-03-15 21:57:48.000000000 -0500
@@ -35,8 +35,8 @@
 
         self.dep = default_dep
 
-        self.ind_library = io.pkl.fromFile(os.environ['PYMOL_PATH']+
-                                           "/data/chempy/sidechains/sc_bb_ind.pkl")
+        self.ind_library = io.pkl.fromFile(os.environ['PYMOL_DATA']+
+                                           "/chempy/sidechains/sc_bb_ind.pkl")
         self.load_library()
         self.status = 0 # 0 no selection, 1 mutagenizing
         self.bump_check = 1
@@ -107,8 +107,8 @@
     def load_library(self):
         if self.dep == 'dep':
             if not hasattr(self,'dep_library'):
-                self.dep_library = io.pkl.fromFile(os.environ['PYMOL_PATH']+
-                                           "/data/chempy/sidechains/sc_bb_dep.pkl")
+                self.dep_library = io.pkl.fromFile(os.environ['PYMOL_DATA']+
+                                           "/chempy/sidechains/sc_bb_dep.pkl")
             
     def set_mode(self,mode):
         if mode in self.modes: