+
+ /**
+ * Tests retrieval of one entry from EMBLCDS. Test is dependent on
+ * availability of network and the EMBLCDS service.
+ *
+ * @throws Exception
+ */
+ @Test(groups = { "External" })
+ public void testAlphaFoldClien() throws Exception
+ {
+ DbSourceProxy alphafold = new EBIAlfaFold();
+ AlignmentI resp = alphafold.getSequenceRecords(alphafold.getTestQuery());
+ assertNotNull(resp);
+ assertEquals("One sequence only",resp.getHeight(), 1);
+ for (AlignmentAnnotation aa:resp.getAlignmentAnnotation()) {
+ if (aa.graph == AlignmentAnnotation.CUSTOMRENDERER)
+ {
+ assertTrue("Contact map didn't provide valid contact",resp.getContactListFor(aa, 1).getContactAt(1)!=-1d);
+ // test passes
+ return;
+ }
+ }
+ Assert.fail();
+ }
+