public static void saveRunOutputs(Scenario scenario){
  log.info("Saving UrbanSim and MATSim outputs ...");
  UrbanSimParameterConfigModuleV3 uspModule=M4UConfigUtils.getUrbanSimParameterConfigAndPossiblyConvert(scenario.getConfig());
  int currentYear=uspModule.getYear();
  String saveDirectory="run" + currentYear;
  String savePath=Paths.checkPathEnding(uspModule.getMATSim4OpusBackup() + saveDirectory);
  File saveDir=new File(savePath);
  if (!saveDir.exists())   if (!saveDir.mkdirs())   log.error("Creating the backup directory " + savePath + " failed!");
  throw new RuntimeException("BackupMATSimOutput functionality is disabled.  If this is needed, " + "please re-implement using FileUtils.copyDirectory, see " + "http://stackoverflow.com/questions/5368724/how-to-copy-a-folder-and-all-its-subfolders-and-files-into-another-folder");
}

public static void saveRunOutputs ( Scenario scenario ) { log . info ( "Saving UrbanSim and MATSim outputs ..." ) ; UrbanSimParameterConfigModuleV3 uspModule = M4UConfigUtils . getUrbanSimParameterConfigAndPossiblyConvert ( scenario . getConfig ( ) ) ; int currentYear = uspModule . getYear ( ) ; String saveDirectory = "run" + currentYear ; String savePath = Paths . checkPathEnding ( uspModule . getMATSim4OpusBackup ( ) + saveDirectory ) ; File saveDir = new File ( savePath ) ; if ( ! saveDir . exists ( ) ) if ( ! saveDir . mkdirs ( ) ) log . error ( "Creating the backup directory " + savePath + " failed!" ) ; throw new RuntimeException ( "BackupMATSimOutput functionality is disabled.  If this is needed, " + "please re-implement using FileUtils.copyDirectory, see " + "http://stackoverflow.com/questions/5368724/how-to-copy-a-folder-and-all-its-subfolders-and-files-into-another-folder" ) ; }
saving urbansim and matsim results for current run in a backup directory . . .
