Commit 4ef9a46c authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'v1.2' into 'v1.2'

1.2.2

See merge request !38
parents fd5b8dad b686a5c3
Pipeline #1043 passed with stages
in 2 minutes and 36 seconds
......@@ -1457,6 +1457,9 @@ def read_segments(fileobj, segments, n_bytes):
return bytes
# Monkey-patch the above implementation into nibabel
fileslice.orig_read_segments = fileslice.read_segments
fileslice.read_segments = read_segments
# Monkey-patch the above implementation into
# nibabel. FSLeyes requires at least 2.1.0 -
# newer versions do not need to be patched.
if nib.__version__ == '2.1.0':
fileslice.orig_read_segments = fileslice.read_segments
fileslice.read_segments = read_segments
......@@ -41,7 +41,7 @@ import re
import string
__version__ = '1.2.1'
__version__ = '1.2.2'
"""Current version number, as a string. """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment