psychopy/psychopy — pull request #131 by arokem (2012-04-12 23:13:28+00:00)
Title: BF: Cast the gamma-grid to be an array.

This fixes an error being thrown in some cases (maybe old calibration files?), where the gammagrid is a list:

File "/Users/arokem/usr/local/lib/python2.7/site-packages/psychopy/monitors/calibTools.py", line 286, in getGammaGrid
if grid.shape!=[4,6]:
AttributeError: 'list' object has no attribute 'shape'