import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
+
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+import MCview.PDBfile;
+
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.Annotation;
import jalview.datamodel.Sequence;
import jalview.io.FileLoader;
import jalview.io.FormatAdapter;
-import org.junit.Assert;
-import org.junit.Test;
-
-import MCview.PDBfile;
-
public class Mapping
{
* msd numbering, not pdb res numbering.
*/
@Test
+ @Ignore
public void pdbEntryPositionMap() throws Exception
{
fail("This test intentionally left to fail");
}
@Test
+ @Ignore
public void testPDBentryMapping() throws Exception
{
fail("This test intentionally left to fail");
newseq.setStart(refseq.getStart() + 25);
newseq.setEnd(refseq.getLength() + 25 + refseq.getStart());
StructureSelectionManager ssm = new jalview.structure.StructureSelectionManager();
+ ssm.setProcessSecondaryStructure(true);
+ ssm.setAddTempFacAnnot(true);
PDBfile pmap = ssm.setMapping(true, new SequenceI[]
{ newseq }, new String[]
{ null }, "test/jalview/ext/jmol/1QCF.pdb",
assertTrue(pmap != null);
assertEquals("Original and copied sequence of different lengths.",
refseq.getLength(), newseq.getLength());
- assertTrue(refseq.getAnnotation().length > 0
+ assertTrue(refseq.getAnnotation() != null
+ && refseq.getAnnotation().length > 0);
+ assertTrue(newseq.getAnnotation() != null
&& newseq.getAnnotation().length > 0);
for (AlignmentAnnotation oannot : refseq.getAnnotation())
{