sanity check on cell_size

Author: qrohlfCreated Apr 8, 2015Updated Sep 20, 2018
Labelsbug

The current sanity checks for cell_size are not sufficient, it is still possible to create an infinite loop by passing in a string (i.e. "40" instead of 40) for cell_size.

Oops.