[Debichem-devel] Bug#482535: pymol: Pymol does not recognize "biological entity" files from wwwpdb.org
Morten Kjeldgaard
mok at bioxray.au.dk
Fri May 23 12:49:02 UTC 2008
Package: pymol
Version: 1.0r2-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* Add debian/patches/13_add_pdb1_extension.dpatch:
Allow pymol to recognize the extension *.pdb1, which is
used by wwpdb.org to represent "biological entity" files.
Closes (LP: #234311).
We thought you might be interested in doing the same.
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-proposed'), (500, 'hardy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-16-generic (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Cheers!
-------------- next part --------------
diff -u pymol-1.0r2/debian/patches/00list pymol-1.0r2/debian/patches/00list
--- pymol-1.0r2/debian/patches/00list
+++ pymol-1.0r2/debian/patches/00list
@@ -9,0 +10 @@
+13_add_pdb1_extension.dpatch
diff -u pymol-1.0r2/debian/changelog pymol-1.0r2/debian/changelog
only in patch2:
unchanged:
--- pymol-1.0r2.orig/debian/patches/13_add_pdb1_extension.dpatch
+++ pymol-1.0r2/debian/patches/13_add_pdb1_extension.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 13_add_pdb1_extension.dpatch by Morten Kjeldgaard <mok at bioxray.au.dk>
+##
+## DP: Allow pymol to recognize the extension *.pdb1, which is
+## DP: used by wwpdb.org to represent "biological entity" files.
+
+
+ at DPATCH@
+diff -urNad pymol-1.0r2~/modules/pmg_tk/skins/normal/__init__.py pymol-1.0r2/modules/pmg_tk/skins/normal/__init__.py
+--- pymol-1.0r2~/modules/pmg_tk/skins/normal/__init__.py 2007-06-21 20:17:14.000000000 +0200
++++ pymol-1.0r2/modules/pmg_tk/skins/normal/__init__.py 2008-05-23 14:36:13.000000000 +0200
+@@ -388,6 +388,7 @@
+ if not tutorial:
+ initdir = self.initialdir
+ ftypes = [("All Readable","*.pdb"),
++ ("All Readable","*.pdb1"),
+ ("All Readable","*.ccp4"),
+ ("All Readable","*.xplor"),
+ ("All Readable","*.mol"),
More information about the Debichem-devel
mailing list