removed debug prints and added error checking to takeshapsot
removed debug prints and added error checking to takeshapsot

ims-tyler/PyBBIO,graycatlabs/PyBBIO,ims-tyler/PyBBIO,leftbrainstrain/PyBBIO,graycatlabs/PyBBIO,leftbrainstrain/PyBBIO,graycatlabs/PyBBIO,ims-tyler/PyBBIO,graycatlabs/PyBBIO,leftbrainstrain/PyBBIO,leftbrainstrain/PyBBIO,graycatlabs/PyBBIO,ims-tyler/PyBBIO,ims-tyler/PyBBIO,leftbrainstrain/PyBBIO