public StructureCommandI saveSession(String filepath)
{
// https://www.cgl.ucsf.edu/chimerax/docs/user/commands/save.html
- return new StructureCommand("save session " + filepath);
+ // note ChimeraX will append ".cxs" to the filepath!
+ return new StructureCommand("save " + filepath + " format session");
}
/**
public StructureCommandI openSession(String filepath)
{
// https://www.cgl.ucsf.edu/chimerax/docs/user/commands/open.html#composite
- return new StructureCommand("open session:" + filepath);
+ return new StructureCommand("open " + filepath + " format session");
}
}