+ \r
+ if Comment and IsFileHeader and \\r
+ not(Comment.startswith(DT.TAB_SPECIAL_COMMENT) \\r
+ and Comment.find(DT.TAB_BINARY_HEADER_COMMENT) > 0):\r
+ self._HeadComment.append((Comment, self._RawData.LineIndex))\r
+ #\r
+ # Double '#' indicates end of header comments\r
+ #\r
+ if (not Comment or Comment == DT.TAB_SPECIAL_COMMENT) and IsFileHeader:\r
+ IsFileHeader = False \r
+ continue\r
+ \r
+ if Comment and Comment.startswith(DT.TAB_SPECIAL_COMMENT) \\r
+ and Comment.find(DT.TAB_BINARY_HEADER_COMMENT) > 0:\r
+ IsBinaryHeader = True\r
+ IsFileHeader = False\r
+ BinaryHeaderLineIndex = self._RawData.LineIndex\r
+ \r
+ if Comment and IsBinaryHeader:\r
+ self.BinaryHeadComment.append((Comment, self._RawData.LineIndex))\r