From: Jim Procter Date: Thu, 20 Oct 2022 15:29:03 +0000 (+0100) Subject: JAL-2349 JAL-3855 adapt renderer for AlignmentI.getContactList(..) mapping to sequenc... X-Git-Tag: Release_2_11_4_0~529 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=306825ab43e7e4232a913f304f6d18b532213b83;p=jalview.git JAL-2349 JAL-3855 adapt renderer for AlignmentI.getContactList(..) mapping to sequence associated reference frame --- diff --git a/src/jalview/renderer/ContactMapRenderer.java b/src/jalview/renderer/ContactMapRenderer.java index 29ee22e..b302060 100644 --- a/src/jalview/renderer/ContactMapRenderer.java +++ b/src/jalview/renderer/ContactMapRenderer.java @@ -67,11 +67,6 @@ public class ContactMapRenderer implements AnnotationRowRendererI x++; continue; } - if (_aa.sequenceRef != null) - { - // get the sequence position for the column - column = _aa.sequenceRef.findPosition(column) - 1; - } ContactListI contacts = viewport.getContactList(_aa, column); if (contacts == null) {