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
Docstring parsing improvements #1214
Conversation
nomen.py
Outdated
|
||
The above variables are sufficient, but let's introduce more anyway: | ||
|
||
Other Variables |
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.
Other is confusing. * Variables
note to self: make
throw a meaningful error |
why does that throw an error? |
spaces in the unit declarations! |
why is that a bad thing? |
Ok I tried this for the first time convexengineering/gplibrary@9d78070 and I really like it. |
I want to get this merged |
Ok I have a problem on convexengineering/gplibrary@c1b7c9b, the functions in the docstring don't seem to be working. Running /Users/mjburton11/MIT/GPKIT/library/gpkitmodels/GP/aircraft/wing/wing.py in return_c(self, c)
44 " return normalized chord distribution "
45 return np.array([2./(1+c[self.lam])*(1+(c[self.lam]-1)*e) for e
---> 46 in c[self.eta]])
47
48 def return_cmac(self, c):
AttributeError: 'Planform' object has no attribute 'eta' |
@mjburton11 the problem was the spaces in |
I used a |
test models please |
@mjburton11 it's now on master |
Closes #1198