/**
* Send a command to Chimera to create residue attributes for Jalview features
* <p>
- * The syntax is: setattr r <attName> <attValue> <atomSpec>
+ * The syntax is: setattr r <attName> <attValue> <atomSpec>
* <p>
- * For example: setattr r jv:chain "Ferredoxin-1, Chloroplastic" #0:94.A
+ * For example: setattr r jv_chain "Ferredoxin-1, Chloroplastic" #0:94.A
*/
protected void sendFeaturesToChimera()
{
{
try
{
- String url = jmb.isChimeraX()
- ? "http://www.rbvi.ucsf.edu/chimerax/docs/user/index.html"
- : "https://www.cgl.ucsf.edu/chimera/docs/UsersGuide";
+ String url = jmb.getHelpURL();
BrowserLauncher.openURL(url);
} catch (IOException ex)
{
{
if (pathUsed == null)
{
- String suffix = jmb.isChimeraX() ? ".cxs" : ".py";
+ String suffix = jmb.getSessionFileExtension();
File tempFile = File.createTempFile("chimera", suffix);
tempFile.deleteOnExit();
pathUsed = tempFile.getPath();