-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fixes #4385 about calling the Create methods when loading models from disk #4485
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d8e1dfc
Loading both create and constructor method and log when both of them …
antoniovs1029 e7f0910
Also log parmTypes
antoniovs1029 1e5170a
Changed access modifiers of some classes
antoniovs1029 b1e0761
Added filtering between nonpublic methods
antoniovs1029 a1a430d
Changed visibility of several classes
antoniovs1029 dd62e51
Adding more logs
antoniovs1029 e076101
Change access modifier of public constructors
antoniovs1029 9841ed5
Merge remote-tracking branch 'upstream/master' into is07createDexper
antoniovs1029 87c1b5a
Change access modifier of SchemaBindableCalibratedModelParameters class
antoniovs1029 33fb93c
Updated comments and removed logging methods
antoniovs1029 bb408f4
Change if statements for 'AccessModifier' extension method
antoniovs1029 26609e8
Added PrivateProtected to enum and other minor changes
antoniovs1029 ad833ad
Change exception message
antoniovs1029 88aef21
Moving assignement of create and ctor inside if condition
antoniovs1029 1dd3e33
Erased redundant 'else' statements since 'if' statements where alread…
antoniovs1029 d5a0b9a
Merge remote-tracking branch 'upstream/master' into is07createDexper
antoniovs1029 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change exception message
- Loading branch information
commit ad833adc31e9a9ea91eada86ac872e5e2c3ecd31
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
So I changed the nested if's I had (link to comment) for this other solution using the Accessmodifier() extension method (as suggested by @yaeldekel ). Although I think this one is more legible, I wouldn't be sure if it's worth it to create the extension method only for this.... So let me know your opinions, Thanks! #Resolved
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.
To me this seems cleaner.
A couple of more ways you can decrease the amount of "if/else"s in the code:
In reply to: 347688260 [](ancestors = 347688260)