Skip to content

Conversation

@f-brinkmann
Copy link
Member

Changes proposed in this pull request:

  • add property Sofa.convention_status. I hope this makes the state of SOFA conventions and SOFA.verify more clear.
  • update remaining code to use the new property

@f-brinkmann f-brinkmann force-pushed the feature/convention_status branch from 9be68a3 to e4f8db9 Compare April 21, 2025 15:27
@f-brinkmann f-brinkmann force-pushed the feature/convention_status branch from e4f8db9 to b045cef Compare April 21, 2025 18:54
f"- GLOBAL_SOFAConventions is "
f"{self.GLOBAL_SOFAConventions}, which is deprecated. Use "
"Sofa.upgrade_convention() to upgrade to "
f"{deprecations['GLOBAL:SOFAConventions'][convention]}")
Copy link
Member Author

Choose a reason for hiding this comment

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

This part of the error message failed in case a conventio is deprecated but a later version of the same convnetion is available. Simplified the error message to work in all cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant