code: def parse_headerline(self, line):
          
          if line.startswith('Date'):
              splitted = self.splitLine(line)
              if len(splitted) > 1:
                  self._header['Date'] = splitted[1]
                  if len(splitted) > 2 and splitted[2] == 'User':
                      self._header['Date'] = splitted[1]
                      self._header['User'] = splitted[3] \
                          if len(splitted) > 3 else ''
                  else:
                      self.warn("Unexpected header format", numline=self._numline)
              else:
                  self.warn("Unexpected header format", numline=self._numline)
  
              return 0
  
          if line.startswith('Time'):
              splitted = self.splitLine(line)
              if len(splitted) > 1:
                  self._header['Time'] = splitted[1]
              else:
                  self.warn("Unexpected header format", numline=self._numline)
  
              return 0
  
          if line.startswith('Sample/ctrl'):
              # Sample/ctrl ID    Pat/Ctr/cAl    Test name    Test type
              if len(self._header) == 0:
                  self.warn("No header found", numline=self._numline)
                  return -1
  
              #Grab column names
              self._end_header = True
              self._columns = self.splitLine(line)
              return 1
docs: Parses header lines
  
              Header example:
              Date    2012/11/15    User    anonymous
              Time    06:07:08PM    Software version: 4.0
  
              Example laboratory
              Arizona