Skip to content

Remove old Text annotations#2081

Merged
mwetter merged 3 commits intomasterfrom
issue2080_TextAnnotations
Feb 2, 2026
Merged

Remove old Text annotations#2081
mwetter merged 3 commits intomasterfrom
issue2080_TextAnnotations

Conversation

@mwetter
Copy link
Contributor

@mwetter mwetter commented Jan 29, 2026

This closes #2080

The changes were applied with the script of lbl-srg/modelica-buildings#4456 (comment)

Also, the github workflow is now checking for old annotations, using the commands of the above script, and will fail if it finds old annotations.

@thorade : Can you please review the changes. Thanks for the regex, which helped automating it and adding it to the CI testing.

@mwetter mwetter requested a review from thorade January 29, 2026 17:50
@mwetter mwetter enabled auto-merge January 29, 2026 17:50
@thorade
Copy link
Member

thorade commented Feb 1, 2026

I compared this branch against my branch, and I manually modified some additional files:
image

The two valve models are not found by the regexp, because they have DynamicSelect().
The other models had one element that should be removed as last element, so the new last element needs to be modified to not have a trailing comma.
I think the check is good enough as it is, I don't even know how these deprecated elements were added.

@mwetter
Copy link
Contributor Author

mwetter commented Feb 1, 2026

@thorade : Thanks for catching these additional changes. If you are OK with the changes, can you please approve the PR so it will auto merge.

@mwetter mwetter merged commit bd50947 into master Feb 2, 2026
3 checks passed
@mwetter mwetter deleted the issue2080_TextAnnotations branch February 2, 2026 19:17
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.

annotation Text Dymola pedantic check

2 participants