From b3d51eeb3bce1bcc3dc639c8c6774845181413ad Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 13 Feb 2018 15:31:35 +0000 Subject: [PATCH] JAL-2781 ensure Trim is disabled before test starts --- test/jalview/structure/StructureSelectionManagerTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/jalview/structure/StructureSelectionManagerTest.java b/test/jalview/structure/StructureSelectionManagerTest.java index a882bce..286be1b 100644 --- a/test/jalview/structure/StructureSelectionManagerTest.java +++ b/test/jalview/structure/StructureSelectionManagerTest.java @@ -27,6 +27,7 @@ import static org.testng.AssertJUnit.assertTrue; import jalview.analysis.AlignmentUtils; import jalview.api.structures.JalviewStructureDisplayI; +import jalview.bin.Cache; import jalview.datamodel.AlignedCodonFrame; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; @@ -46,6 +47,7 @@ import jalview.io.FileLoader; import jalview.io.Jalview2xmlBase; import jalview.io.StructureFile; import jalview.util.MapList; +import jalview.ws.DBRefFetcher; import jalview.ws.sifts.SiftsSettings; import java.util.ArrayList; @@ -349,6 +351,9 @@ public class StructureSelectionManagerTest extends Jalview2xmlBase public void testAssociatedMappingToSubSeq() throws Exception { + // currently this test fails if trimming is enabled + Cache.setProperty(DBRefFetcher.TRIM_RETRIEVED_SEQUENCES, + Boolean.FALSE.toString()); String TEMP_FACTOR_AA="Temperature Factor"; String PDBID = "4IM2"; String FullLengthSeq = ">TBK1_HUMAN Serine/threonine-protein kinase TBK1\n" + -- 1.7.10.2