-
Notifications
You must be signed in to change notification settings - Fork 31
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
Make model module accessible from model instance #1932
Conversation
This makes it more convenient to create a new (unmodified) model instance, or to find out where the model files are located. Also adds a snake_case version of `getModel`.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #1932 +/- ##
===========================================
+ Coverage 75.90% 75.99% +0.09%
===========================================
Files 76 76
Lines 12970 12970
===========================================
+ Hits 9845 9857 +12
+ Misses 3125 3113 -12
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
👍 neat, check path (test) for one of the test models?
Added a test. Ideally, this whole thing would be handled by returning an instance of the ModelXXXX Python class by |
Kudos, SonarCloud Quality Gate passed! |
Fixup for #1932 This fixes importing the swig wrapper for a model directly (not via the package).
Fixup for #1932 This fixes importing the swig wrapper for a model directly (not via the package).
This makes it more convenient to create a new (unmodified) model instance, or to find out where the model files are located.
Also adds a snake_case version of
getModel
.