Skip to content

Commit a5f78fa

Browse files
committed
Replacing scop id by hard-coded range in test
1 parent 2d7dbf7 commit a5f78fa

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

biojava-structure/src/test/java/org/biojava/nbio/structure/symmetry/internal/TestSequenceFunctionOrderDetector.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,21 @@
3737
import org.junit.Test;
3838

3939
/**
40-
* Originally part of {@link CeSymmTest}.
40+
* Originally part of {@link TestCeSymm}.
4141
* @author Spencer Bliven
4242
*/
4343
public class TestSequenceFunctionOrderDetector {
4444

4545
@Test
4646
public void testGetSymmetryOrder() throws IOException, StructureException, RefinerFailedException {
4747
// List of alignments to try, along with proper symmetry
48-
Map<String,Integer> orderMap = new HashMap<String,Integer>();
48+
Map<String,Integer> orderMap = new HashMap<>();
4949
orderMap.put("1itb.A",3); // b-trefoil, C3
5050
orderMap.put("1tim.A",2); // tim-barrel, C8
5151
//orderMap.put("d1p9ha_",-1); // not rotational symmetry
5252
orderMap.put("3HKE.A",2); // very questionable alignment
53-
orderMap.put("d1jlya1",3); // a very nice trefoil
53+
// Before BioJava 6.0.0, this used to get a scop domain directly (d1jlya1), now hardcoding range to avoid external resources
54+
orderMap.put("1JLY.A_1-153", 3); // a very nice trefoil
5455

5556
AtomCache cache = new AtomCache();
5657

0 commit comments

Comments
 (0)