{
Viewer viewer = null;
- public JmolParser(String inFile, String type)
- throws IOException
+ public JmolParser(String inFile, String type) throws IOException
{
super(inFile, type);
}
try
{
/*
- * params -o (output to sysout) -i (no info logging, less verbose)
- * -n (nodisplay) -x (exit when finished)
+ * params -o (output to sysout) -n (nodisplay) -x (exit when finished)
* see http://wiki.jmol.org/index.php/Jmol_Application
*/
viewer = (Viewer) JmolViewer.allocateViewer(null, null, null, null,
- null, "-x -o -n -i", this);
+ null, "-x -o -n", this);
// ensure the 'new' (DSSP) not 'old' (Ramachandran) SS method is used
viewer.setBooleanProperty("defaultStructureDSSP", true);
} catch (ClassCastException x)
{
try
{
- asecstr[p] = new Annotation(String.valueOf(secstr[p]), null,
- secstrcode[p], Float.NaN);
- ssFound = true;
+ asecstr[p] = new Annotation(String.valueOf(secstr[p]), null,
+ secstrcode[p], Float.NaN);
+ ssFound = true;
} catch (Exception e)
{
// e.printStackTrace();