# HG changeset patch # User jingchunzhu # Date 1440571337 25200 # Node ID b6f5d2d1b0476596436b0ec160c18dce62520686 # Parent 986bca7bc318f41fd5352ba2e5c20f5ce859b2df fix diff -r 986bca7bc318 -r b6f5d2d1b047 seg2matrix/CGData/BaseTable.py --- 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]: