Esempio n. 1
0
 def shift(self, i=1, key='Level'):
     if not key in self._keys:
         mwf_logger.warning("{0} not a valid key in {1}".format(
             key, self._keys))
     else:
         ix = self._keys.index[key]
         self.skip[ix] += i
Esempio n. 2
0
 def shift(self, i=1, key='Level'):
     if not key in self._keys:
         mwf_logger.warning("{0} not a valid key in {1}".format(key, self._keys))
     else:
         ix = self._keys.index[key]
         self.skip[ix] += i