public String replaceFileTemplate ( String filespec , int ensIndex ) { return filespec . replaceAll ( ENS_TEMPLATE_ID , getEnsembleNames ( ) . get ( ensIndex ) ) ; }
Replace the ensemble template parameter in a filename