# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User peterjc <p.j.a.cock@googlemail.com> # Date 1286450288 -3600 # Node ID 51873f4ee7a6a3535dc028c66259a5381cc46c9c # Parent e082f7f28e628263faacb652ef9d0ee9b37d8532 Fixed typo in FloatToolParameter doctest --- a/lib/galaxy/tools/parameters/basic.py +++ b/lib/galaxy/tools/parameters/basic.py @@ -215,7 +215,7 @@ class FloatToolParameter( TextToolParame """ Parameter that takes a real number value. - >>> p = FloatToolParameter( None, XML( '<param name="blah" type="integer" size="4" value="3.141592" />' ) ) + >>> p = FloatToolParameter( None, XML( '<param name="blah" type="float" size="4" value="3.141592" />' ) ) >>> print p.name blah >>> print p.get_html()