#NEWLINE# def generate_variables( self ) : #NEWLINE# #INDENT# self . emit ( 'VARIABLE' ) #NEWLINE# self . indent ( ) #NEWLINE# obs_names = self . model . observable_groups . keys ( ) #NEWLINE# for obs_group in self . make_groups ( obs_names , 5 ) : #NEWLINE# #INDENT# self . emit ( ( ', ' . join ( obs_group ) + ' AS NOTYPE' ) ) #NEWLINE# #UNINDENT# var_names = [ ( 's%d' % i ) for i in range ( len ( self . model . species ) ) ] #NEWLINE# for var_group in self . make_groups ( obs_group , 5 ) : #NEWLINE# #INDENT# self . emit ( ( ', ' . join ( var_group ) + ' AS NOTYPE' ) ) #NEWLINE# #UNINDENT# self . outdent ( )