diff load_db.py @ 2:150765965caa draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/query_tabular commit 4a3c9f195ba5d899b1a1ce5e80281cdf230f456a
author iuc
date Mon, 23 Oct 2017 13:27:54 -0400
parents c1b700bc0150
children b722161a845a
line wrap: on
line diff
--- a/load_db.py	Fri Aug 18 16:48:20 2017 -0400
+++ b/load_db.py	Mon Oct 23 13:27:54 2017 -0400
@@ -166,11 +166,11 @@
         try:
             int(val)
             return 'INTEGER'
-        except:
+        except ValueError:
             try:
                 float(val)
                 return 'REAL'
-            except:
+            except ValueError:
                 return 'TEXT'
     return None