Closed bebau closed 10 months ago
This is just about perfect, but follow this pattern and use a tempfile for the path. I know there are examples in there using /tmp/whatever
but that only works on some unix-like systems. I've been meaning to change those all to use the other pattern.
Opened #32 as a reminder to fix those testing issues.
Proposed fix for #25 .
One other difference I noticed between slicing and
read_samples()
that makes this slicing behavior slightly strange: a slice will not scale int8 data (or similar) to a float, whileread_samples
will. Maybe that's not a bug and get_item should return truly "raw" data, but it could be warning-worthy.