aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-02 10:39:46 +0200
committerJustin Lecher <jlec@gentoo.org>2011-06-02 10:39:46 +0200
commit065a95be5ffc0c5b37c5f7b6b8aa89271247ab12 (patch)
treea3d3622480be697d249ccf18a0def57b49f14908 /sci-chemistry/coot/files
parent[sci-misc/boinc-bin] Remove obsolete package version. (diff)
downloadsci-065a95be5ffc0c5b37c5f7b6b8aa89271247ab12.tar.gz
sci-065a95be5ffc0c5b37c5f7b6b8aa89271247ab12.tar.bz2
sci-065a95be5ffc0c5b37c5f7b6b8aa89271247ab12.zip
Fixes for latest HEAD
(Portage version: 2.2.0_alpha37/git/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-chemistry/coot/files')
-rw-r--r--sci-chemistry/coot/files/9999-align.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/sci-chemistry/coot/files/9999-align.patch b/sci-chemistry/coot/files/9999-align.patch
new file mode 100644
index 000000000..17e57877d
--- /dev/null
+++ b/sci-chemistry/coot/files/9999-align.patch
@@ -0,0 +1,29 @@
+Index: src/c-interface-mutate.cc
+===================================================================
+--- src/c-interface-mutate.cc (revision 3528)
++++ src/c-interface-mutate.cc (working copy)
+@@ -292,7 +292,9 @@
+ PyObject *r = Py_False;
+ if (is_valid_model_molecule(imol)) {
+ std::pair<bool, std::string> p =
+- graphics_info_t::molecules[imol].find_terminal_residue_type(chain_id, resno);
++ graphics_info_t::molecules[imol].find_terminal_residue_type(chain_id, resno,
++ graphics_info_t::alignment_wgap,
++ graphics_info_t::alignment_wspace);
+ if (p.first) {
+ r = PyString_FromString(p.second.c_str());
+ }
+Index: src/c-interface-validate.cc
+===================================================================
+--- src/c-interface-validate.cc (revision 3528)
++++ src/c-interface-validate.cc (working copy)
+@@ -1653,7 +1653,8 @@
+
+ if (is_valid_model_molecule(imol)) {
+ std::pair<bool, std::vector<coot::chain_mutation_info_container_t> > ar =
+- graphics_info_t::molecules[imol].residue_mismatches();
++ graphics_info_t::molecules[imol].residue_mismatches(graphics_info_t::alignment_wgap,
++ graphics_info_t::alignment_wspace);
+ if (ar.first)
+ r = PyList_New(0);
+ for (unsigned int ir=0; ir<ar.second.size(); ir++) {