private void exportParameters(string outputFolder, IndividualSimulation individualSimulation, string projectName) { var parameterReportFileName = csvPathUnder(outputFolder, $"{individualSimulation.Name}_parameters", projectName); _parametersReportCreator.ExportParametersTo(individualSimulation.Model, parameterReportFileName); _logger.AddDebug($"Exporting simulation parameters to '{parameterReportFileName}'"); }
private void exportParameters(string outputFolder, string exportFileName, IndividualSimulation individualSimulation) { var parameterReportFileName = Path.Combine(outputFolder, $"{exportFileName}_parameters.csv"); _logger.AddDebug($"------> Exporting simulation parameters to '{parameterReportFileName}'"); _parametersReportCreator.ExportParametersTo(individualSimulation.Model, parameterReportFileName); }
protected override void PerformExecute() { var fileName = _dialogCreator.AskForFileToSave(PKSimConstants.UI.SaveSimulationParameterToCsvFile, Constants.Filter.CSV_FILE_FILTER, Subject.Name); if (string.IsNullOrEmpty(fileName)) { return; } _buildingBlockTask.Load(Subject); _parametersReportCreator.ExportParametersTo(Subject.Model, fileName); }