From 5450becd429ebedd98ecfbe33192ac474211cdad Mon Sep 17 00:00:00 2001 From: gmungoc Date: Sun, 28 Jun 2020 11:27:02 +0100 Subject: [PATCH] JAL-3551 fit to window (zoom) command for PyMOL --- src/jalview/ext/pymol/PymolCommands.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/ext/pymol/PymolCommands.java b/src/jalview/ext/pymol/PymolCommands.java index be01533..f382173 100644 --- a/src/jalview/ext/pymol/PymolCommands.java +++ b/src/jalview/ext/pymol/PymolCommands.java @@ -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 -- 1.7.10.2