pymol (1.5.0.1-2) 19_blosum_matrix_path.patch

Summary

 modules/pymol/fitting.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Author: Daniel Leidert (dale) <daniel.leidert@wgdd.de>
Description: Another path fix
Bug-Debian: http://bugs.debian.org/511810
Forwarded: not-needed

--- ./modules/pymol/fitting.py.orig	2012-02-13 19:51:22.000000000 +0100
+++ ./modules/pymol/fitting.py	2012-02-14 00:35:21.078016145 +0100
@@ -199,7 +199,7 @@
                 if string.lower(matrix)=='none':
                         matrix=''
                 if len(matrix):
-                        mfile = cmd.exp_path("$PYMOL_DATA/pymol/matrices/"+matrix)
+                        mfile = cmd.exp_path("$PYMOL_DATA/matrices/"+matrix)
                 else:
                         mfile = ''                
                 # delete existing alignment object (if asked to reset it)
@@ -266,7 +266,7 @@
                 if string.lower(matrix)=='none':
                         matrix=''
                 if len(matrix):
-                        mfile = cmd.exp_path("$PYMOL_DATA/pymol/matrices/"+matrix)
+                        mfile = cmd.exp_path("$PYMOL_DATA/matrices/"+matrix)
                 else:
                         mfile = ''
                 if object==None: object=''