In very rare instances, borderscore calculation returns int
or np.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.
