#NEWLINE# def writeParamFiles( self , savestate = '' ) : #NEWLINE# #INDENT# 'Write model parameter file for each ensemble member.' #NEWLINE# for ( e , model ) in enumerate ( self . models ) : #NEWLINE# #INDENT# if ( len ( self . statefiles ) > 0 ) : #NEWLINE# #INDENT# model . writeParamFile ( state_file = self . statefiles [ self ] , save_state = savestate ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# model . writeParamFile ( save_state = savestate )