X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws%2Fdbsources%2FEBIAlphaFoldTest.java;fp=test%2Fjalview%2Fws%2Fdbsources%2FEBIAlphaFoldTest.java;h=8cba8ab66aad72a27b628a34d35cd497dcd3170a;hb=416733be19ca9e380edce9ee9b5bc0bad0092f99;hp=74a149b3ab13720831ddf9e13ce8018568d50aa0;hpb=03750f3a72c19b215f872bbdcf04585c463c6967;p=jalview.git diff --git a/test/jalview/ws/dbsources/EBIAlphaFoldTest.java b/test/jalview/ws/dbsources/EBIAlphaFoldTest.java index 74a149b..8cba8ab 100644 --- a/test/jalview/ws/dbsources/EBIAlphaFoldTest.java +++ b/test/jalview/ws/dbsources/EBIAlphaFoldTest.java @@ -16,7 +16,6 @@ import jalview.datamodel.Alignment; import jalview.datamodel.AlignmentI; import jalview.datamodel.Sequence; import jalview.datamodel.SequenceI; -import jalview.gui.AlignFrame; import jalview.gui.Desktop; import jalview.gui.JvOptionPane; import jalview.structure.StructureMapping; @@ -36,11 +35,13 @@ public class EBIAlphaFoldTest @DataProvider(name = "getExamplePAEfiles") public Object[][] getExamplePAEfiles() { - return new String[][] { { - "examples/test_fab41.result/test_fab41_predicted_aligned_error_v1.json" }, + return new String[][] { + // + { "examples/test_fab41.result/test_fab41_predicted_aligned_error_v1.json" }, { "examples/AlphaFold/AF-A0A1U8FD60-F1-predicted_aligned_error_v4.json" }, { "examples/AlphaFold/AF-Q5VSL9-F1-predicted_aligned_error_v4.json" }, - { "examples/AlphaFold/AF-Q5VSL9-F1-predicted_aligned_error_v4_2023.json" } }; + // + }; } @Test(groups = { "Functional" }, dataProvider = "getExamplePAEfiles") @@ -66,10 +67,8 @@ public class EBIAlphaFoldTest FileAssert.assertFile(new File(paeFile), "Test file '" + paeFile + "' doesn't seem to exist"); } - SequenceI seq = new Sequence("Dummy/1-2000", - "ASDASDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"); + SequenceI seq = new Sequence("Dummy/1-2000", "ASDASDA"); AlignmentI al = new Alignment(new SequenceI[] { seq }); - AlignFrame af = new AlignFrame(al, seq.getLength(), 1); StructureSelectionManager ssm = StructureSelectionManager .getStructureSelectionManager(Desktop.instance); StructureMapping sm = new StructureMapping(seq, pdbFile, null, null, @@ -86,7 +85,7 @@ public class EBIAlphaFoldTest "Import of '" + paeFile + "' didn't complete successfully"); } catch (IOException | ParseException e) { - e.printStackTrace(); + Assert.fail("Exception importing paefile '" + paeFile + "'", e); } } @@ -99,13 +98,11 @@ public class EBIAlphaFoldTest */ { "examples/test_fab41.result/test_fab41_unrelaxed_rank_1_model_3.pdb", "examples/test_fab41.result/test_fab41_unrelaxed_rank_1_model_3_scores.json" }, - /* { "examples/AlphaFold/AF-A0A1U8FD60-F1-model_v4.pdb", "examples/AlphaFold/AF-A0A1U8FD60-F1-predicted_aligned_error_v4.json" }, { "examples/AlphaFold/AF-Q5VSL9-F1-model_v4.pdb", "examples/AlphaFold/AF-Q5VSL9-F1-predicted_aligned_error_v4.json" }, - { "examples/AlphaFold/AF-Q5VSL9-F1-model_v4.pdb", - "examples/AlphaFold/AF-Q5VSL9-F1-predicted_aligned_error_v4_2023.json" }, + /* */ }; }