* @author jimp
*
*/
-public class PDBFileWithJmolTest
+public class JmolParserTest
{
/*
* 1GAQ has been reduced to alpha carbons only
* 1QCF is the full PDB file including headers, HETATM etc
*/
- String[] testFile = new String[] { "./examples/1GAQ.txt",
- "./test/jalview/ext/jmol/1QCF.pdb" }; // ,
+ // String[] testFile = new String[] { "./examples/1GAQ.txt",
+ // "./test/jalview/ext/jmol/1QCF.pdb" }; // ,
+ String[] testFile = new String[] { "./examples/testdata/1qcf.cif" }; // ,
//@formatter:off
// a modified and very cut-down extract of 4UJ4
{
PDBfile mctest = new PDBfile(false, false, false, pdbStr,
AppletFormatAdapter.FILE);
- PDBFileWithJmol jtest = new PDBFileWithJmol(pdbStr,
+ JmolParser jtest = new JmolParser(pdbStr,
jalview.io.AppletFormatAdapter.FILE);
Vector<SequenceI> seqs = jtest.getSeqs(), mcseqs = mctest.getSeqs();
{
PDBfile mctest = new PDBfile(false, false, false, pdbWithChainBreak,
AppletFormatAdapter.PASTE);
- PDBFileWithJmol jtest = new PDBFileWithJmol(pdbWithChainBreak,
+ JmolParser jtest = new JmolParser(pdbWithChainBreak,
jalview.io.AppletFormatAdapter.PASTE);
Vector<SequenceI> seqs = jtest.getSeqs();
Vector<SequenceI> mcseqs = mctest.getSeqs();
{
PDBfile mctest = new PDBfile(false, false, false, pdbWithAltLoc,
AppletFormatAdapter.PASTE);
- PDBFileWithJmol jtest = new PDBFileWithJmol(pdbWithAltLoc,
+ JmolParser jtest = new JmolParser(pdbWithAltLoc,
jalview.io.AppletFormatAdapter.PASTE);
Vector<SequenceI> seqs = jtest.getSeqs();
Vector<SequenceI> mcseqs = mctest.getSeqs();
@Test(groups = "Functional")
public void testSetSecondaryStructure()
{
- PDBFileWithJmol testee = new PDBFileWithJmol();
+ JmolParser testee = new JmolParser();
char[] struct = new char[10];
char[] structCode = new char[10];
struct[0] = '1';