code: def generateFromNumbers(self, numbers):
      
      sequence = []
  
      for number in numbers:
        if number == None:
          sequence.append(number)
        else:
          pattern = self.patternMachine.get(number)
          sequence.append(pattern)
  
      return sequence
docs: Generate a sequence from a list of numbers.
  
      Note: Any `None` in the list of numbers is considered a reset.
  
      @param numbers (list) List of numbers
  
      @return (list) Generated sequence