When I load the population from CSV file created in PK-Sim V11 this gives an error:
Error in do.call(".External", c(list("r_call_method", self$pointer, methodName), :
Type: OSPSuite.Utility.Exceptions.OSPSuiteException
Message: Error: The input string '10 individuals)' was not in a correct format.
Method: Void ThrowOnError()
Stack trace:
at OSPSuite.Infrastructure.Import.Services.ImportLogger.ThrowOnError()
at OSPSuite.R.Services.PopulationTask.ImportPopulation(String fileFullPath)
at InvokeStub_PopulationTask.ImportPopulation(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
However, when the population CSV file was created in PK-Sim V9.1 I do not receive any error.
Thank you for moving this comment. However it is the population created in V11 that runs into the error. If it could be helpfull, below the population files that we tried to load.
When I load the population from CSV file created in PK-Sim V11 this gives an error:
Error in do.call(".External", c(list("r_call_method", self$pointer, methodName), : Type: OSPSuite.Utility.Exceptions.OSPSuiteException Message: Error: The input string '10 individuals)' was not in a correct format. Method: Void ThrowOnError() Stack trace: at OSPSuite.Infrastructure.Import.Services.ImportLogger.ThrowOnError() at OSPSuite.R.Services.PopulationTask.ImportPopulation(String fileFullPath) at InvokeStub_PopulationTask.ImportPopulation(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
However, when the population CSV file was created in PK-Sim V9.1 I do not receive any error.
Originally posted by @nina-nauwelaerts in https://github.com/Open-Systems-Pharmacology/OSPSuite-R/issues/1482#issuecomment-2331111937