parameters: (self, row_index, file_lookup=True, suppress_warnings=False)
return_statement: return states[row_entry].all_states
docstring: Creates the state for a particular row.
          :param row_index: the row index
          :param suppress_warnings: bool. If True don't propagate errors from get_states.
                                    This parameter is a temporary fix to the problem of errors being reported
                                    while data is still being input. A long-term fix is to reassess how frequently
                                    SANS calls get_states.
          :return: a state if the index is valid and there is a state else None
docstring_summary: Creates the state for a particular row.
          :param row_index: the row index
          :param suppress_warnings: bool. If True don't propagate errors from get_states.
                                    This parameter is a temporary fix to the problem of errors being reported
                                    while data is still being input. A long-term fix is to reassess how frequently
                                    SANS calls get_states.
          :return: a state if the index is valid and there is a state else None
docstring_tokens: Creates the state for a particular row . : param row_index : the row index : param suppress_warnings : bool . If True don t propagate errors from get_states . This parameter is a temporary fix to the problem of errors being reported while data is still being input . A long - term fix is to reassess how frequently SANS calls get_states . : return : a state if the index is valid and there is a state else None
function: def get_state_for_row(self, row_index, file_lookup=True, suppress_warnings=False)->Optional[AllStates]:
          """
          Creates the state for a particular row.
          :param row_index: the row index
          :param suppress_warnings: bool. If True don't propagate errors from get_states.
                                    This parameter is a temporary fix to the problem of errors being reported
                                    while data is still being input. A long-term fix is to reassess how frequently
                                    SANS calls get_states.
          :return: a state if the index is valid and there is a state else None
          """
          row_entry = self._table_model.get_row(row_index)
          states, errors = self.get_states(row_entries=[row_entry], file_lookup=file_lookup,
                                           suppress_warnings=suppress_warnings)
          if not states:
              if not suppress_warnings:
                  self.sans_logger.warning(
                      "There does not seem to be data for a row {}.".format(row_index))
              return None
  
          return states[row_entry].all_states
function_tokens: def get_state_for_row ( self , row_index , file_lookup = True , suppress_warnings = False ) -> Optional [ AllStates ] : row_entry = self . _table_model . get_row ( row_index ) states , errors = self . get_states ( row_entries = [ row_entry ] , file_lookup = file_lookup , suppress_warnings = suppress_warnings ) if not states : if not suppress_warnings : self . sans_logger . warning ( "There does not seem to be data for a row {}." . format ( row_index ) ) return None return states [ row_entry ] . all_states