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

Creating pregnancy population should include pregnant-specific organs #1482

Open
PavelBal opened this issue Aug 28, 2024 · 3 comments
Open

Comments

@PavelBal
Copy link
Member

When creating a pregnant population, the pregnancy-specific organs are not included

popChar <- createPopulationCharacteristics(species = "Human", population = HumanPopulation$Pregnant,
                                           numberOfIndividuals = 100)
pop <- createPopulation(populationCharacteristics = popChar)

Related to Open-Systems-Pharmacology/Pregnancy-Models#28

@nina-nauwelaerts
Copy link

I have similar issues with the postpartum population.

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.

@Yuri05
Copy link
Member

Yuri05 commented Sep 5, 2024

When creating a pregnant population, the pregnancy-specific organs are not included

followup of Open-Systems-Pharmacology/PK-Sim#2865

@Yuri05
Copy link
Member

Yuri05 commented Sep 5, 2024

I have similar issues with the postpartum population.

When I load the population from CSV file created in PK-Sim V11 this gives an error:

This seems to be something different. I have extracted it into a separate issue:
#1487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants