|
34 | 34 |
|
35 | 35 | import java.io.IOException; |
36 | 36 | import java.lang.reflect.InvocationTargetException; |
37 | | -import java.util.ArrayList; |
38 | 37 | import java.util.Arrays; |
39 | | -import java.util.List; |
40 | 38 |
|
41 | 39 |
|
42 | 40 | /** |
@@ -407,26 +405,13 @@ private Atom[] makeDummyCA(int len) throws PDBParseException { |
407 | 405 | @Test |
408 | 406 | public void testCECP1() throws IOException, StructureException{ |
409 | 407 |
|
410 | | - String pdb1 = "3A2K"; |
411 | | - //String name1 = "PDP:3A2KAc"; // A : 234-333 |
412 | | - String pdb2 = "1WY5"; |
413 | | - //String name2 = "d1wy5a2"; // A : 217-311 |
414 | | - |
415 | 408 | AtomCache cache = new AtomCache(); |
416 | 409 |
|
417 | 410 | // since BioJava 6.0.0, there's no PDP provider. The below corresponds to domain "PDP:3A2KAc" |
418 | | - List<ResidueRange> ranges = new ArrayList<>(); |
419 | | - ranges.add(new ResidueRange("A", new ResidueNumber("A",234, null), new ResidueNumber("A", 333, null))); |
420 | | - SubstructureIdentifier ssi = new SubstructureIdentifier(pdb1, ranges); |
421 | | - Structure structure1 = cache.getStructure(pdb1); |
422 | | - ssi.reduce(structure1); |
| 411 | + Structure structure1 = cache.getStructure("3A2K.A_234-333"); |
423 | 412 |
|
424 | 413 | // since BioJava 6.0.0, there's no RemoteSCOP provider. The below corresponds to domain "d1wy5a2" |
425 | | - ranges = new ArrayList<>(); |
426 | | - ranges.add(new ResidueRange("A", new ResidueNumber("A",217, null), new ResidueNumber("A", 311, null))); |
427 | | - ssi = new SubstructureIdentifier(pdb2, ranges); |
428 | | - Structure structure2 = cache.getStructure(pdb2); |
429 | | - ssi.reduce(structure2); |
| 414 | + Structure structure2 = cache.getStructure("1WY5.A_217-311"); |
430 | 415 |
|
431 | 416 | CeCPMain algorithm = new CeCPMain(); |
432 | 417 |
|
|
0 commit comments