In very rare instances, borderscore calculation returns int ornp.ma.core.MaskedConstant instead of float. This messed with insertion into datajoint but otherwise doesn't have big consequences: I am reporting here just for completeness. I am helping myself by just calling np.array(shuffled_borderscores).astype(float) on the whole array before inserting into database.
In very rare instances, borderscore calculation returns
int
ornp.ma.core.MaskedConstant
instead of float. This messed with insertion into datajoint but otherwise doesn't have big consequences: I am reporting here just for completeness. I am helping myself by just callingnp.array(shuffled_borderscores).astype(float)
on the whole array before inserting into database.