public IndividualValuesCache ImportPopulation(string fileFullPath) { var importLogger = new ImportLogger(); var parameterValuesCache = _individualValuesCacheImporter.ImportFrom(fileFullPath, importLogger); importLogger.ThrowOnError(); _logger.Log(importLogger); return parameterValuesCache; }
public SensitivityAnalysisRunResult ImportResultsFromCSV(IModelCoreSimulation simulation, params string[] csvFiles) { var sensitivityAnalysisImportResult = _sensitivityAnalysisRunResultsImportTask.ImportResults(simulation, csvFiles, CancellationToken.None, showImportProgress: false).Result; sensitivityAnalysisImportResult.ThrowOnError(); _logger.Log(sensitivityAnalysisImportResult); return(sensitivityAnalysisImportResult.SensitivityAnalysisRunResult); }
public PopulationSimulationPKAnalyses ImportPKAnalysesFromCSV(string fileName, IModelCoreSimulation simulation) { var pkSimulationImport = _simulationPKParametersImportTask.ImportPKParameters(fileName, simulation, CancellationToken.None).Result; pkSimulationImport.ThrowOnError(); _logger.Log(pkSimulationImport); var simulationPKAnalyses = new PopulationSimulationPKAnalyses(); pkSimulationImport.PKParameters.Each(x => simulationPKAnalyses.AddPKAnalysis(x)); return(simulationPKAnalyses); }