[GRASS-dev] Re: [GRASS GIS] #1070: cannot enter useful values to
r.param.scale curvature tolerance in wxPython GUI
GRASS GIS
trac at osgeo.org
Mon May 24 05:17:31 EDT 2010
#1070: cannot enter useful values to r.param.scale curvature tolerance in wxPython
GUI
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: r.param.scale
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):
Replying to [comment:11 hamish]:
> Replying to [comment:10 martinl]:
> > The validator allows you to enter whatever you want, it's just
> > indicate that input is not float. Extra allowed strings could be
> > handled by redesigned {{{Option}}} structure in GRASS 7.
>
> I ask out of curiosity because nan,inf are valid IEEE floating point
values, but most validators don't remember to include them and that can
get you stuck. If they don't work it's a bug in the validator, we
shouldn't have to work around it ourselves.
Python's float() understands nan or inf, so there is nothing to fix.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1070#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list