File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 55
66
77def _memmap_after_ufunc ():
8- """ Return True if memmap arrays always return memmap from ufuncs
8+ """ Return True if ufuncs on memmap arrays always return memmap arrays
99
1010 This should be True for numpy < 1.12, False otherwise.
1111 """
@@ -15,5 +15,5 @@ def _memmap_after_ufunc():
1515 return mm_preserved
1616
1717
18- # True if ufunc on memmap retuns a memmap
18+ # True if ufunc on memmap always returns a memmap
1919VIRAL_MEMMAP = _memmap_after_ufunc ()
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ class MmapImageMixin(object):
342342 check_mmap_mode = True
343343
344344 def get_disk_image (self ):
345- """ Return an image and an image filname , and scaling bool to test against
345+ """ Return image, image filename , and flag for required scaling
346346
347347 Subclasses can do anything to return an image, including loading a
348348 pre-existing image from disk.
@@ -351,12 +351,10 @@ def get_disk_image(self):
351351 -------
352352 img : class:`SpatialImage` instance
353353 fname : str
354- Image filename
354+ Image filename.
355355 has_scaling : bool
356356 True if the image array has scaling to apply to the raw image array
357357 data, False otherwise.
358-
359- Notes
360358 """
361359 img_klass = self .image_class
362360 shape = (3 , 4 , 2 )
You can’t perform that action at this time.
0 commit comments