JAL-3858 improved contactInterval computation and added detailed test coverage for...
authorJames Procter <j.procter@dundee.ac.uk>
Thu, 28 Sep 2023 16:39:51 +0000 (17:39 +0100)
committerJames Procter <j.procter@dundee.ac.uk>
Thu, 28 Sep 2023 16:48:49 +0000 (17:48 +0100)
commitf047ab25cc45bfc9d130f67d2c56a940751d9c91
treec6b3562c2cc266c69074394441310ef2717a36d7
parent985903ad810d9ef6ba0d09ff2b29d24e22c0708d
JAL-3858 improved contactInterval computation and added detailed test coverage for ContactGeometry
- contactInterval.cStart/cEnd and pStart/pEnd are now base-0 inclusive ranges, always less than contactHeight and graphHeight
- change in mapFor behaviour so cStart/cEnd and pStart/pEnd are always just one mapped range, not as many as requested to cover mapFor(pFrom,pTo)
src/jalview/gui/AnnotationPanel.java
src/jalview/renderer/ContactGeometry.java
src/jalview/renderer/ContactMapRenderer.java
test/jalview/renderer/ContactGeometryTest.java [new file with mode: 0644]