This may be related: https://github.com/JuliaLang/julia/issues/16248

On Sun, Jun 5, 2016 at 6:16 PM, Anonymous <[email protected]> wrote:

> So I have a BysteString vector A, containing a bunch of byte strings of
> varying lengths of the form:
>
> "1,2,\n"
> "\n"
> "5,2,4\n"
>
> etc.
>
> What I have set up is to do
>
> [vec(readdlm(IOBuffer(line), ',', Float64)) for line in A]
>
> However because as you see above the second line is empty except for the
> newline escape character, it throws an error.  What I would like it to do
> instead is simply return an empty array Float64[] for that line.  That
> seems like what it *should* do, and I'm not sure why it doesn't.  Is
> there any way I can make it behave like I want it to?
>

Reply via email to