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

Fixes #2151 ontogeny like #2152

Merged
merged 1 commit into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/PKSim.Core/Comparison/IndividualDiffBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using OSPSuite.Core.Comparison;
using OSPSuite.Core.Domain;
using OSPSuite.Core.Domain.Services;
using PKSim.Assets;
using PKSim.Core.Model;

Expand All @@ -15,7 +14,7 @@ public class IndividualDiffBuilder : DiffBuilder<Individual>
public IndividualDiffBuilder(
ContainerDiffBuilder containerDiffBuilder,
IObjectComparer comparer,
EnumerableComparer enumerableComparer )
EnumerableComparer enumerableComparer)
{
_containerDiffBuilder = containerDiffBuilder;
_comparer = comparer;
Expand Down
1 change: 1 addition & 0 deletions src/PKSim.Core/Comparison/IndividualProteinDiffBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public override void Compare(IComparison<IndividualProtein> comparison)
{
_containerDiffBuilder.Compare(comparison);
CompareValues(x => x.Localization, PKSimConstants.UI.Localization, comparison);
CompareValues(x => x.Ontogeny, PKSimConstants.UI.Ontogeny, comparison);
}
}
}
5 changes: 3 additions & 2 deletions src/PKSim.Core/Comparison/IndividualTransporterDiffBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using PKSim.Assets;
using OSPSuite.Core.Comparison;
using PKSim.Assets;
using PKSim.Core.Model;
using OSPSuite.Core.Comparison;

namespace PKSim.Core.Comparison
{
Expand All @@ -17,6 +17,7 @@ public override void Compare(IComparison<IndividualTransporter> comparison)
{
_containerDiffBuilder.Compare(comparison);
CompareValues(x => x.TransportType, PKSimConstants.UI.DefaultTransporterDirection, comparison);
CompareValues(x => x.Ontogeny, PKSimConstants.UI.Ontogeny, comparison);
}
}
}