Mercurial > repos > melissacline > ucsc_cancer_utilities
changeset 50:b6f5d2d1b047
fix
author | jingchunzhu |
---|---|
date | Tue, 25 Aug 2015 23:42:17 -0700 |
parents | 986bca7bc318 |
children | 728eda331f07 |
files | seg2matrix/CGData/BaseTable.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/seg2matrix/CGData/BaseTable.py Fri Aug 14 00:17:55 2015 -0700 +++ b/seg2matrix/CGData/BaseTable.py Tue Aug 25 23:42:17 2015 -0700 @@ -64,7 +64,7 @@ for row in read: linenum += 1 r = self.__row_class__() - if comment is None or not row[0].startswith(comment): + if (comment is None or not row[0].startswith(comment)) and not row[0].startswith("#"): for i, col in enumerate(cols): isOptional = False if 'columnDef' in self['cgformat'] and col in self['cgformat']['columnDef'] and 'optional' in self['cgformat']['columnDef'][col]: