load_session
Restore a saved PyMOL session from a .pse file, replacing the current workspace or merging objects to compare multiple sessions side by side.
Instructions
Restores a PyMOL session from a .pse file.
By default this replaces everything currently loaded, exactly as opening
the file in PyMOL would. Set merge=True to add its objects to the
current session instead, which is how you get two saved scenes side by
side — though note that objects with the same name will collide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merge | No | Add to the current session rather than replacing it. | |
| filename | Yes | Path to the .pse file to open. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |