#NEWLINE# def set_necessary_dimensions( self , variable ) : #NEWLINE# #INDENT# for ( d , l ) in zip ( variable . dims , variable . shape ) : #NEWLINE# #INDENT# if ( d not in l . dimensions ) : #NEWLINE# #INDENT# self . set_dimension ( d , l )