Skip to content

Commit f829919

Browse files
committed
STY/DOC: Note about multi-file images, newline
1 parent 562fac8 commit f829919

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nibabel/filebasedimages.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,10 @@ class SerializableImage(FileBasedImage):
561561
562562
Images that consist of separate header and data files (e.g., Analyze
563563
images) currently do not support this interface.
564+
For multi-file images, ``to_bytes()`` and ``from_bytes()`` must be
565+
overridden, and any encoding details should be documented.
564566
'''
567+
565568
@classmethod
566569
def from_bytes(klass, bytestring):
567570
""" Construct image from a byte string

0 commit comments

Comments
 (0)