-
Notifications
You must be signed in to change notification settings - Fork 29
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
Remove camel case from unified_power_Rg (Trac #1059) #288
Comments
Trac update at The Rg in this case is not camel case since it is naturally capitalized and is preceded by an underscore. Much like we ignore the PEP 8 rules for case for variable names when matching the math symbols used in a paper, we could claim that this is a legitimate use of an upper case name for a model. |
Trac update at
|
Trac update at True but the rule was "no capitalization" not "no camel case". The later is a result of the first. Relevant section reads:
|
Trac update at |
Trac update at |
Trac update at
Probably cannot be done for this release so moving to 4.3
|
Trac update at
In changeset fa8e6dc:
|
Trac update at
Test whether a unified_power_Rg model saved from 4.0, 4.1 and 4.2 can be loaded into 4.3. Glancing at the conversion code I suspect the answer is no, but I haven't tested.
|
Trac update at I have reverted the capitalisation changes in the Ticket 822 v5 unit tests branch (and not by reverting the original commit in master) so that the implications for old projects can be explored separately. |
@llimeht points out in !SasView PR 137 that unified_power_Rg contains capitalisation (in contravention of the agreed coding rules) meaning links to the corresponding help documentation are not working.
Though the PR removes case dependency, the expedient approach is also to enforce the coding standard. Thus the model should be renamed and links to the doc pages checked.
Migrated from http://trac.sasview.org/ticket/1059
The text was updated successfully, but these errors were encountered: