should either be a FileStream or a string indicating a path. StreamReader is to general because calibration data is always provided in a file and this function call expects to start from the beginning of the stream. This will require a change in the public API.
The
file
input argument in the following functions:https://github.com/open-ephys/onix-bonsai-onix1/blob/3fdcec67f5f5d548ddf9125d7859565b55a48d08/OpenEphys.Onix1/NeuropixelsV1Helper.cs#L21
https://github.com/open-ephys/onix-bonsai-onix1/blob/3fdcec67f5f5d548ddf9125d7859565b55a48d08/OpenEphys.Onix1/NeuropixelsV1Helper.cs#L65
should either be a
FileStream
or astring
indicating a path. StreamReader is to general because calibration data is always provided in a file and this function call expects to start from the beginning of the stream. This will require a change in the public API.