JAL-3551 fit to window (zoom) command for PyMOL
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Sun, 28 Jun 2020 10:27:02 +0000 (11:27 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Sun, 28 Jun 2020 10:27:02 +0000 (11:27 +0100)
src/jalview/ext/pymol/PymolCommands.java

index be01533..f382173 100644 (file)
@@ -77,8 +77,9 @@ public class PymolCommands extends StructureCommandsBase
   @Override
   public StructureCommandI focusView()
   {
-    // TODO what?
-    return null;
+    // https://pymol.org/dokuwiki/doku.php?id=command:zoom
+    // not currently documented on https://pymolwiki.org/index.php/Category:Commands
+    return new StructureCommand("zoom");
   }
 
   @Override