parameters: (self, refiner, laststep)
return_statement: return
docstring: Record pre-refinement information
docstring_summary: Record pre-refinement information
docstring_tokens: Record pre - refinement information
function: def _recordPreRefineInfo(self, refiner, laststep):
          """ Record pre-refinement information
          """
          rectablews = mtd[self._recordwsname]
          numrows = rectablews.rowCount()
  
          if self._recordWSLastRowInvalid is False:
              self._currstep = numrows
              rectablews.addRow([self._currstep, "", "", "", "", "", -1.0, laststep, -1.0, "profilews",
                                 "reflectionws", "Polynomial", "BkgdParm"])
          else:
              self._currstep = numrows-1
              laststep = self._lastValidStep
  
          # print "*** Record workspace has %d rows. current step = %d. " % (rectablews.rowCount(), self._currstep)
  
          if len(refiner.paramToFit) > 0:
              rectablews.setCell(self._currstep,  5, str(refiner.paramToFit))
          rectablews.setCell(self._currstep,  9, str(refiner.inprofilewsname))
          rectablews.setCell(self._currstep, 10, str(refiner.inreflectionwsname))
          rectablews.setCell(self._currstep, 11, str(refiner.bkgdtype))
          rectablews.setCell(self._currstep, 12, str(refiner.bkgdtablewsname))
  
          return
function_tokens: def _recordPreRefineInfo ( self , refiner , laststep ) : rectablews = mtd [ self . _recordwsname ] numrows = rectablews . rowCount ( ) if self . _recordWSLastRowInvalid is False : self . _currstep = numrows rectablews . addRow ( [ self . _currstep , "" , "" , "" , "" , "" , - 1.0 , laststep , - 1.0 , "profilews" , "reflectionws" , "Polynomial" , "BkgdParm" ] ) else : self . _currstep = numrows - 1 laststep = self . _lastValidStep # print "*** Record workspace has %d rows. current step = %d. " % (rectablews.rowCount(), self._currstep) if len ( refiner . paramToFit ) > 0 : rectablews . setCell ( self . _currstep , 5 , str ( refiner . paramToFit ) ) rectablews . setCell ( self . _currstep , 9 , str ( refiner . inprofilewsname ) ) rectablews . setCell ( self . _currstep , 10 , str ( refiner . inreflectionwsname ) ) rectablews . setCell ( self . _currstep , 11 , str ( refiner . bkgdtype ) ) rectablews . setCell ( self . _currstep , 12 , str ( refiner . bkgdtablewsname ) ) return