Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading population created with PK-Sim V9 #1487

Open
Yuri05 opened this issue Sep 5, 2024 · 1 comment
Open

Error loading population created with PK-Sim V9 #1487

Yuri05 opened this issue Sep 5, 2024 · 1 comment
Labels
type: bug Something isn't working

Comments

@Yuri05
Copy link
Member

Yuri05 commented Sep 5, 2024

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 #1482 (comment)

@nina-nauwelaerts
Copy link

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.

Postpartum population V9.csv
Postpartum population V11.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants