Opened 9 years ago
Closed 9 years ago
#532 closed defect (fixed)
Saving and restoring sessions
Reported by: | Conrad Huang | Owned by: | Conrad Huang |
---|---|---|---|
Priority: | blocker | Milestone: | Alpha Release |
Component: | Sessions | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Separate session version identification from reading session content.
Note:
See TracTickets
for help on using tickets.
After discussion, with Greg doing all the coding, we changed the API for core/serialize.py to add "version_serialize" and "version_deserialize" for reading only the version portion of the session file. Subsequent data in the session file are read using "serialize" and "deserialize". This way, we can use a different storage mechanisms for different session file versions. Currently, both version and data serialization use Python pickle. We can investigate msgpack for data serialization in future session versions.