Closed jlstevens closed 10 years ago
My last commit allows matchconditions to be defined across each class instead of requiring them all to be defined at once. I think this change makes use of the matchconditions decorator consistent with the other decorators and allows matchconditions to be declared near where the corresponding parameters are defined.
The new changes seem to be working fine so I've gone ahead and merged this PR.
This is my proposed simplification to the new submodel machinery. Now, only the
matchconditions
decorator requires and argument making the remaining decorators simpler to use.For now, I have preserved all the original names, partially to help show how things have changes and partially because I do not know what conventions we wish to follow. Suggestions welcome!
EDIT: There are still the annoying param warnings about 'Setting non-Parameter attributes' to fix...