Skip to content

Relax command extension#1188

Merged
jamesaoverton merged 4 commits intomasterfrom
issue1060-relaxfixes
May 2, 2024
Merged

Relax command extension#1188
jamesaoverton merged 4 commits intomasterfrom
issue1060-relaxfixes

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 balhoff and cmungall 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.

@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
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