// annotation on the associated sequence
for (AlignmentAnnotation alan : firstChain.getAnnotation())
{
- if (alan.hasIcons)
- {
- hasSecStr = true;
- }
- if (alan.graph == alan.LINE_GRAPH)
- {
- hasTemp = true;
- }
-
AlignmentAnnotation transfer = origMap.transfer(alan);
System.out.println("pdb:" + firstChain.getSequenceAsString());
System.out.println("ann:" + alan.toString());
}
}
}
+ hasSecStr = false;
+ hasTemp = false;
+ // test for presence of transferred annotation on sequence
+ for (AlignmentAnnotation alan : sq.getAnnotation())
+ {
+ if (alan.hasIcons)
+ {
+ hasSecStr = true;
+ }
+ if (alan.graph == alan.LINE_GRAPH)
+ {
+ hasTemp = true;
+ }
+ }
assertTrue("No secondary structure transferred to associated sequence.",hasSecStr);
assertTrue("No temperature factor transferred to associated sequence.",hasTemp);
}