"select backbone;restrict;cartoon;wireframe off;spacefill off");
ssm = StructureSelectionManager.getStructureSelectionManager();
-
MCview.PDBfile pdb;
if (loadedInline)
{
}
else
{
- pdb = ssm.setMapping(sequence,chains,
+ // TODO: Jmol can in principle retrieve from CLASSLOADER but this needs to be tested. See mantis bug https://mantis.lifesci.dundee.ac.uk/view.php?id=36605
+
+ pdb = ssm.setMapping(sequence,chains,
pdbentry.getFile(),
- protocol);
+ AppletFormatAdapter.URL);
+
}
pdbentry.setId(pdb.id);
}
param = setProtocolState(param);
- if (!jmolAvailable
- && protocol == AppletFormatAdapter.CLASSLOADER)
+ if (//!jmolAvailable
+ // &&
+ protocol == AppletFormatAdapter.CLASSLOADER)
{
- // TODO: pass PDB file in classloader on to Jmol
+ // TODO: verify this Re: https://mantis.lifesci.dundee.ac.uk/view.php?id=36605
// This exception preserves the current behaviour where, even if
// the local pdb file was identified in the class loader
protocol = AppletFormatAdapter.URL; // this is probably NOT