parameters: (self, is_spice=True)
return_statement: return
docstring: Restore the previously saved value to HKL
          :return:
docstring_summary: Restore the previously saved value to HKL
          :return:
docstring_tokens: Restore the previously saved value to HKL : return :
function: def restore_cached_indexing(self, is_spice=True):
          """
          Restore the previously saved value to HKL
          :return:
          """
          # check first such that all the stored value are to be
          stored_line_index = sorted(self._cachedSpiceHKL.keys())
          assert len(stored_line_index) == self.rowCount(), 'The current rows and cached row counts do not match.'
  
          # restore
          for row_index in stored_line_index:
              hkl = self._cachedSpiceHKL[row_index]
              self.set_hkl(row_index, hkl, is_spice_hkl=is_spice)
          # END-FOR
  
          # clear
          self._cachedSpiceHKL.clear()
  
          return
function_tokens: def restore_cached_indexing ( self , is_spice = True ) : # check first such that all the stored value are to be stored_line_index = sorted ( self . _cachedSpiceHKL . keys ( ) ) assert len ( stored_line_index ) == self . rowCount ( ) , 'The current rows and cached row counts do not match.' # restore for row_index in stored_line_index : hkl = self . _cachedSpiceHKL [ row_index ] self . set_hkl ( row_index , hkl , is_spice_hkl = is_spice ) # END-FOR # clear self . _cachedSpiceHKL . clear ( ) return