Sanity check the spacegroup

It must be the str representation of an int