Slicer: 2145-support-for-installing-extension-from-file 5f0916e9

Author Committer Branch Timestamp Parent
pieper pieper 2145-support-for-installing-extension-from-file 2013-05-18 08:15:34 2145-support-for-installing-extension-from-file 178bd4e1
Changeset

BUG: Remove check of spacing in LabelStatistics

Because small differences in spacing can be introduced by rounding
or the way floating point numbers are handled, the check of exact
equality caused false negatives. Removing this check will allow
valid use cases to succeed, while the other checks still prevent
incorrect calculations (where the grids to not actually align in
pixel space).

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22024 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Scripted/LabelStatistics/LabelStatistics.py Diff File