Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christoph Arthofer
fslpy
Commits
4ef9a46c
Commit
4ef9a46c
authored
Oct 21, 2017
by
Paul McCarthy
🚵
Browse files
Merge branch 'v1.2' into 'v1.2'
1.2.2 See merge request !38
parents
fd5b8dad
b686a5c3
Changes
2
Show whitespace changes
Inline
Side-by-side
fsl/data/image.py
View file @
4ef9a46c
...
...
@@ -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
fsl/version.py
View file @
4ef9a46c
...
...
@@ -41,7 +41,7 @@ import re
import
string
__version__
=
'1.2.
1
'
__version__
=
'1.2.
2
'
"""Current version number, as a string. """
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment