mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 21:23:23 +08:00
Always use _find_images()
This commit is contained in:
@@ -163,11 +163,10 @@ class ImageCollection(object):
|
||||
for pattern in load_pattern:
|
||||
self._files.extend(glob(pattern))
|
||||
self._files = sorted(self._files, key=alphanumeric_key)
|
||||
self._numframes = self._find_images()
|
||||
else:
|
||||
self._files = load_pattern
|
||||
self._numframes = len(load_pattern)
|
||||
self._frame_index = None
|
||||
|
||||
self._numframes = self._find_images()
|
||||
|
||||
if conserve_memory:
|
||||
memory_slots = 1
|
||||
|
||||
Reference in New Issue
Block a user