- return new StructureCommand("load", "", "0", "pse");
+ // this version of the command has no dependency on file extension
+ return new StructureCommand("load", filepath, "", "0", "pse");
+ }
+
+ @Override
+ public StructureCommandI closeViewer()
+ {
+ // https://pymolwiki.org/index.php/Quit
+ return CLOSE_PYMOL;