}
/**
- * Ask Chimera to open a session file. Returns true if successful, else false.
- * The filename must have a .py (Chimera) or .cxs (ChimeraX) extension for
- * this command to work.
- *
- * @param filepath
- * @return
- */
- public boolean openSession(String filepath)
- {
- /*
- * Chimera: https://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/open.html
- * ChimeraX: https://www.cgl.ucsf.edu/chimerax/docs/user/commands/open.html
- */
- executeCommand(getCommandGenerator().loadFile(filepath), true);
- // todo: test for failure - how?
- return true;
- }
-
- /**
* Send a 'show' command for all atoms in the currently selected columns
*
* TODO: pull up to abstract structure viewer interface