File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66
77## [ Unreleased]
88
9+ ### Fixed
10+
11+ - ` SimpleStreams.SimpleReaderBase.readinto() ` - fixed plugin invocation bug
912## [ 0.7.0] - 2022-08-24
1013
1114### Added
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def __init__(
8888
8989 self .samplesize = utils .get_samplesize (self .shape , self .dtype )
9090
91- self .blocksize = blocksize or max (1024 ** 2 // self .samplesize , 1 )
91+ self .blocksize = blocksize or max (1024 ** 2 // self .samplesize , 1 )
9292 logging .debug ("[reader main] completed init" )
9393
9494 def close (self ):
@@ -190,7 +190,7 @@ def readinto(self, array):
190190 blocking-mode, and has no data available at the moment."""
191191
192192 return (
193- self ._proc .stdout .readinto (self ._memoryviewer (array ).cast ("b" ))
193+ self ._proc .stdout .readinto (self ._memoryviewer (obj = array ).cast ("b" ))
194194 // self .samplesize
195195 )
196196
You can’t perform that action at this time.
0 commit comments