Open-Systems-Pharmacology / OSPSuite.Core

Core functionalities of the Open Systems Pharmacology Suite
Other
5 stars 8 forks source link

Fixes #2358 It should not be possible to create a simulation with multiple identical neighborhoods #2364

Closed rwmcintosh closed 6 days ago

rwmcintosh commented 6 days ago

Fixes #2358

Description

It's possible that two modules could define different neighborhoods that connect the same containers. This prevents the simulation from being created.

Type of change

Please mark relevant options with an x in the brackets.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Reviewer checklist

Mark everything that needs to be checked before merging the PR.

Screenshots (if appropriate):

image

Questions (if appropriate):

rwmcintosh commented 6 days ago

actually, I think the full path is needed rather than just the names.

rwmcintosh commented 6 days ago

actually, I think the full path is needed rather than just the names.

ok, it is this way already, in this simple example, the paths are only one element deep.

rwmcintosh commented 6 days ago

image