-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix param exports #579
Fix param exports #579
Conversation
…composites (not just ModelDefs) - Removed function import_params! - Added function propagate_params! - Added call to propagate_params! to code emitted by @defcomposite, now exporting only unconnected params. - Deprecated old function name() in favor of nameof().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I trust you tried this out with the reverted version of FUND you created? (fund-model/MimiFUND.jl#53)
Since the dependency tests that are running here are still using the version where the population component's name was changed right?
Codecov Report
@@ Coverage Diff @@
## master #579 +/- ##
==========================================
+ Coverage 77.39% 77.49% +0.09%
==========================================
Files 39 39
Lines 2584 2573 -11
==========================================
- Hits 2000 1994 -6
+ Misses 584 579 -5
Continue to review full report at Codecov.
|
@rjplevin shall I merge this? |
Sure, once the checks complete... |
Stopped exporting connected params, and added a call to the new function
propagate_params!()
to the code emitted by@defcomposite
.