diff --git a/orangecontrib/spark/utils/gui_utils.py b/orangecontrib/spark/utils/gui_utils.py index 2a23455..270fc83 100644 --- a/orangecontrib/spark/utils/gui_utils.py +++ b/orangecontrib/spark/utils/gui_utils.py @@ -78,6 +78,8 @@ def get_usable_value(self): try: try: if float(val) == int(val): + if "." in val: + return float(val) return int(val) except ValueError: return float(val) diff --git a/setup.py b/setup.py index c355007..8cbeb81 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ if __name__ == '__main__': setup( name = "Orange3-spark", - version = '0.1.7', + version = '0.1.8', author = 'Jose Antonio Martin H.', author_email = 'xjamartinh@gmail.com', url = 'https://github.com/jamartinh/Orange-Spark', @@ -61,7 +61,7 @@ 'orangecontrib.spark.widgets.data', 'orangecontrib.spark.widgets.ml'], package_data = { - 'orangecontrib.spark': ['tutorials/*'], + 'orangecontrib.spark': ['tutorials/*.ows'], 'orangecontrib.spark.widgets': ['icons/*'], }, install_requires = ['Orange', 'pandas'],