private void validate(IndividualPropertiesCache individualValues, IImportLogger logger) { foreach (var parameterPath in individualValues.AllParameterPaths().ToList()) { if (allParametersContains(parameterPath)) { continue; } logger.AddWarning(PKSimConstants.Warning.ParameterWithPathNotFoundInBaseIndividual(parameterPath)); individualValues.Remove(parameterPath); } }
public virtual IEnumerable <IParameter> AllVectorialParameters(IEntityPathResolver entityPathResolver) { var allParameters = AllParameters(entityPathResolver); return(IndividualPropertiesCache.AllParameterPaths().Select(p => allParameters[p]).Where(p => p != null)); }