changeset 59:b88b95642f59

fix
author jingchunzhu
date Tue, 22 Sep 2015 15:41:03 -0700
parents 3e5680fecd7a
children bf57076e27b9
files seg2matrix/CGData/BaseTable.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/seg2matrix/CGData/BaseTable.py	Tue Sep 22 15:16:19 2015 -0700
+++ b/seg2matrix/CGData/BaseTable.py	Tue Sep 22 15:41:03 2015 -0700
@@ -75,7 +75,9 @@
                     if len(row) > i:
                         try:
                             setattr(r, col, colType[col](row[i]))
-                        except ValueError:  
+                        except ValueError:
+                            skip=1
+                            break
                             raise ValueError( "col invalid type %s on line %d" % (row[i], linenum))
                     else:
                         if isOptional: