You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(ospsuite)
populationCharacteristics<- createPopulationCharacteristics(
species=Species$Human,
population=ospsuite::HumanPopulation$WhiteAmerican_NHANES_1997,
numberOfIndividuals=50,
proportionOfFemales=50,
ageMax=85, # LIMIT FOR AMERICANS IS 81 yearsageMin=10
)
population<- createPopulation(populationCharacteristics=populationCharacteristics)
Error in do.call(".External", c(list("r_call_method", self$pointer, methodName), :
Type: OSPSuite.Utility.Exceptions.OSPSuiteException
Message: Maximum value for BMI should be less than or equal to 150.00 kg/m².
Method: Void validate(PKSim.Core.Model.RandomPopulationSettings)
Stack trace:
at PKSim.R.Services.PopulationFactory.validate(RandomPopulationSettings populationSettings)
at PKSim.R.Services.PopulationFactory.CreatePopulation(PopulationCharacteristics populationCharacteristics)
at InvokeStub_PopulationFactory.CreatePopulation(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Whil I passed a value that is above accepted limit for ageMax the error I got is complaining about BMI. Very misleading.
The text was updated successfully, but these errors were encountered:
Whil I passed a value that is above accepted limit for
ageMax
the error I got is complaining aboutBMI
. Very misleading.The text was updated successfully, but these errors were encountered: