davidaknowles/eagle

Make sure values are checked before running

adriaan-vd-graaf opened this issue · 2 comments

Found the following error after inputting alt data containing NA values:

 *** caught segfault ***
address (nil), cause 'memory not mapped'

Traceback:
 1: .Call("runvb", alt, n, x, settings, PACKAGE = packageName)
 2: eagle.vem(alt, n, if (s$null.first) xNullList else xFullList,     s)
 3: system.time(res.first <- eagle.vem(alt, n, if (s$null.first) xNullList else xFullList,     s))
 4: eagle.helper(altList, totalList, xFull, xNull, s)
 5: system.time(res <- eagle.helper(altList, totalList, xFull, xNull,     s))
aborting ...

would be nice to catch this beforehand, instead of debugging.

Thanks.

Thanks for this Adriaan - I've pushed a change to check for NAs at the R level.

Thanks!

Op di 24 nov. 2015 om 04:32 schreef davidaknowles <notifications@github.com

:

Thanks for this Adriaan - I've pushed a change to check for NAs at the R
level.


Reply to this email directly or view it on GitHub
#1 (comment).