We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd0a1e2 + 61e9ef2 commit 45f530dCopy full SHA for 45f530d
thunder/images/readers.py
@@ -374,7 +374,8 @@ def getarray(idx_buffer_filename):
374
pageCount = pageCount - extra
375
logging.getLogger('thunder').warn('Ignored %d pages in file %s' % (extra, fname))
376
else:
377
- raise ValueError("nplanes '%d' does not evenly divide '%d'" % (nplanes, pageCount))
+ raise ValueError("nplanes '%d' does not evenly divide '%d in file %s'" % (nplanes, pageCount,
378
+ fname))
379
values = [ary[i:(i+nplanes)] for i in range(0, pageCount, nplanes)]
380
381
values = [ary]
0 commit comments