diff options
author | rcoh <rcoh@mit.edu> | 2011-02-16 18:20:36 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-02-16 18:20:36 -0500 |
commit | 2df9e408a0ff74539862c4a4e562a878cc11a329 (patch) | |
tree | f9388ceb03bf4fe5166c2c474b68e08733a4a54a /operationscore | |
parent | 83242972c09032eb89dd547f3ff3c4dcc2693555 (diff) |
Code cleanup. Made Oval behavior (circle with h/w).
Diffstat (limited to 'operationscore')
-rw-r--r-- | operationscore/PixelAssembler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/operationscore/PixelAssembler.py b/operationscore/PixelAssembler.py index 582b59d..8ae27c9 100644 --- a/operationscore/PixelAssembler.py +++ b/operationscore/PixelAssembler.py @@ -19,10 +19,10 @@ class PixelAssembler(SmootCoreObject): defined or improperly defined.') if Geo.dist(newLocation, locations[-1]) > \ self['pixelToPixelSpacing']: - import pdb; pdb.set_trace() raise Exception('Illegal pixel location. Distance \ between adjacent pixels must be less than \ - pixelToPixelSpacing.') + pixelToPixelSpacing. Illegal distance is between '+str(pixelIndex) + ' and'\ + + str(pixelIndex+1)) locations.append(newLocation) if self['Reverse']: locations.reverse() |