Mercurial > repos > melissacline > ucsc_cancer_utilities
diff seg2matrix/CGData/BaseTable.py @ 59:b88b95642f59
fix
author | jingchunzhu |
---|---|
date | Tue, 22 Sep 2015 15:41:03 -0700 |
parents | 3a036a34c362 |
children |
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: