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

More CI #250

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

More CI #250

wants to merge 1 commit into from

Conversation

ArnoStrouwen
Copy link
Member

  • What is the proper deprecation for sys.name? The suggested get_name(sys) does not seem to work.
  • Downstream had no group, so I just picked the broadest one.

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fa7705b) 15.85% compared to head (080fbc3) 15.77%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #250      +/-   ##
==========================================
- Coverage   15.85%   15.77%   -0.09%     
==========================================
  Files          48       48              
  Lines        1627     1636       +9     
==========================================
  Hits          258      258              
- Misses       1369     1378       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -276,7 +276,7 @@ _damped_sine_wave(x, f, A, st, ϕ, d) = exp((st - x) * d) * A * sin(2 * π * f *

for i in 1:lastindex(sources)
source = sources[i]
@info "Testing Voltage with $(source.name) source"
@info "Testing Voltage with $(source.get_name) source"
Copy link
Member

Choose a reason for hiding this comment

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

This works:

Suggested change
@info "Testing Voltage with $(source.get_name) source"
@info "Testing Voltage with $(ModelingToolkit.getname(source)) source"

Better still - a using ModelingToolkit: getname at the top and $(getname(source)) here.

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 just makes the change in a string naming the test. Not the actual code.

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.

2 participants