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

[BUG] - OML Builder Can Make Duplicate Concept Instances #121

Open
1 task
LewisHumphries opened this issue Sep 12, 2024 · 0 comments
Open
1 task

[BUG] - OML Builder Can Make Duplicate Concept Instances #121

LewisHumphries opened this issue Sep 12, 2024 · 0 comments

Comments

@LewisHumphries
Copy link

Description

When using the OMLBuilder to create an OML description, if you try to create 2 concept instances with the same name it'll create a duplicate concept instance, which causes the OML description to be invalid.

Steps to Reproduce

Steps to reproduce the behaviour:

  • Step 1 - call the OMLBuilder.addConceptInstance(Description description, String name) function twice using the same value for the name parameter.

Expected Behaviour

The expected behaviour would be to return the original concept instance.

Additional Context

N/A

Relevant screenshots

N/A

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

1 participant