This is a read-only mirror of pymolwiki.org

Difference between revisions of "Pse export version"

From PyMOL Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
The [[pse_export_version]] setting switches to a legacy format when saving PSEs, so far possible. The value is the floating point number representation of the targeted legacy PyMOL version, for example '''1.74''' to save a session for PyMOL 1.7.4.
 +
 +
''New in PyMOL 1.7.6''
 +
 +
Session file loading is always backwards compatible, so any newer version of PyMOL can load old session files.
 +
 +
== Examples ==
 +
 +
<syntaxhighlight lang="python">
 +
# current version (default)
 +
set pse_export_version, 0
 +
save current.pse
 +
 +
# compatible with PyMOL 1.7.4
 +
set pse_export_version, 1.74
 +
save 174compat.pse
 +
</syntaxhighlight>
 +
 +
== Known Limitations ==
 +
 +
The following objects are not or only partly supported:
 +
 +
* scenes before 1.7.6
 +
* volumes before 1.7.2
 +
* ramps
 +
* CGOs
 +
 +
== See Also ==
 +
 +
* [[save]]
 +
 +
[[Category:Settings]]
 
   
 
   
<source lang="python">
+
 
+
 
</source>
+
 
 +
 
 +
 
 +
<source lang="python"></source>

Revision as of 20:28, 23 April 2015

The pse_export_version setting switches to a legacy format when saving PSEs, so far possible. The value is the floating point number representation of the targeted legacy PyMOL version, for example 1.74 to save a session for PyMOL 1.7.4.

New in PyMOL 1.7.6

Session file loading is always backwards compatible, so any newer version of PyMOL can load old session files.

Examples

# current version (default)
set pse_export_version, 0
save current.pse

# compatible with PyMOL 1.7.4
set pse_export_version, 1.74
save 174compat.pse

Known Limitations

The following objects are not or only partly supported:

  • scenes before 1.7.6
  • volumes before 1.7.2
  • ramps
  • CGOs

See Also