Releases: glotzerlab/gsd
Releases · glotzerlab/gsd
v3.0.1
Fixed:
- Prevent
ValueError: signal only works in main thread of the main interpreter
when importing gsd in a non-main thread.
v3.0.0
Added:
gsd.version.version
- version string identifier. PEP8 compliant name replaces__version__
.GSDFile.flush
- flush write buffers (C APIgsd_flush
) (#237).GSDFile.maximum_write_buffer_size
- get/set the write buffer size (C APIgsd_get_maximum_write_buffer_size
/gsd_set_maximum_write_buffer_size
) (#237).GSDFile.index_entries_to_buffer
- get/set the write buffer size (C APIindex_entries_to_buffer
/index_entries_to_buffer
) (#237).- On importing [gsd]{.title-ref}, install a
SIGTERM
handler that callssys.exit(1)
(#237).
Changed:
write_chunk
buffers writes across frames to increase performance (#237).- Use Doxygen and breathe to generate C API documentation in Sphinx (#237).
Removed:
v2.9.0
v2.8.1
Fixed:
- Reduce memory usage in most use cases.
- Reduce likelihood of data corruption when writing GSD files.
v2.8.0
Added:
gsd.hoomd.read_log
- Read log quantities from a GSD file.gsd.hoomd.Frame
class to replacegsd.hoomd.Snapshot
.
Changed:
- Improved documentation.
Deprecated:
gsd.hoomd.Snapshot
.
v2.7.0
Added
- Support Python 3.11.
v2.6.1
Fixed:
- Default values are now written to frame N (N != 0) when non-default
values exist in frame 0. - Data chunks can now be read from files opened in 'wb', 'xb', and
'ab' modes.
v2.6.0
Changed:
- Raise an error when writing a frame with duplicate types.
v2.5.3
Fixed
- Support Python >=3.6.
v2.5.2
Fixed
- Correctly handle non-ASCII characters on Windows.
- Document that the
fname
argument togsd_
C API functions is
UTF-8 encoded.