Skip to content

Commit

Permalink
Update version to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
colinpalmer committed Jul 2, 2022
1 parent 8524068 commit 1a4d475
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
Change log for mrcfile
======================

Version 1.4.0 (2022-07-02)
--------------------------

* Change default MRC format version from 20140 to 20141 and update validation
to allow files with both format numbers as valid.
* Add mrcfile.read() and mrcfile.write() functions for quick one-off accesses
to the MRC data array without needing to keep an MrcFile object open (thanks
to Alister Burt).
* Allow the extended header to be set when creating a file with
mrcfile.new_mmap() (thanks to James Parkhurst).
* Add file size checks to avoid allocating huge amounts of memory when opening
corrupt or non-MRC files in permissive mode.
* Update numpy and Python version compatibility to drop support for Python
3.4 and 3.5 and numpy < 1.16, and add support for numpy 1.21 and 1.22.
* Fix bug intepreting FEI extended headers on big-endian hardware.
* Documentation updates.

Version 1.3.0 (2021-02-18)
--------------------------

Expand Down
4 changes: 2 additions & 2 deletions mrcfile/version.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright (c) 2016, Science and Technology Facilities Council
# Copyright (c) 2022, Science and Technology Facilities Council
# This software is distributed under a BSD licence. See LICENSE.txt.

"""Stand-alone module for version number which can be imported or executed with
no dependencies.
"""

__version__ = '1.3.0'
__version__ = '1.4.0'

0 comments on commit 1a4d475

Please sign in to comment.