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

Relax command extension #1188

Merged
merged 4 commits into from
May 2, 2024
Merged

Relax command extension #1188

merged 4 commits into from
May 2, 2024

Conversation

matentzn
Copy link
Contributor

Fixes #1060, #1183

  • docs/ have been added/updated
  • tests have been added/updated
  • mvn verify says all tests pass
  • mvn site says all JavaDocs correct
  • CHANGELOG.md has been updated

These PR extends the relax command by adding three new options:

  • --exclude-named-classes: if true, A EquivalentTo B between named classes are excluded from relax
  • --include-subclass-of: if true, A Subclass A and R some B is relaxed the same way as A EquivalentTo A and R some B, see @cmungall request in relax is currently incomplete #1183
  • --enforce-obo-format: If true, only simple existentials and named subsumptions are asserted during the process

I like all the functionality, but the --enforce-obo-format is really clunky. I would be happy if someone made a better suggestion; I also dont like --exclude-nested.

The only "breaking" change in this PR is that the CLI gets --exclude-named-classes by default as true. Previously, before this option existed, A=B was relaxed to A sub B and B sub A. No one I personally now has ever said that this is a good idea, so we changed the default, as discussed in #1060.

@matentzn matentzn requested review from cmungall and balhoff March 10, 2024 17:38
This was referenced Mar 10, 2024
Copy link
Contributor

@balhoff balhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but I had two questions.

docs/relax.md Outdated Show resolved Hide resolved
@matentzn matentzn changed the title First draft of relax command extension Relax command extension Apr 1, 2024
@matentzn matentzn requested a review from jamesaoverton May 2, 2024 09:29
@jamesaoverton jamesaoverton merged commit 62e0d3d into master May 2, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

Relax relax
3 participants