-
Notifications
You must be signed in to change notification settings - Fork 91
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
Model documentation fails to print #16
Comments
I didn't see any method named doc but it looks like you could try str(model). Just browsing through as I am thinking of using this package for a project in the coming weeks |
Sorry print model |
Hey guys, thanks for participating in the project - I'm glad its got some interest. I've been doing a bit of restructuring on how the docs print, to try and make it most helpful in iPython. In this case, I think I updated the docs on this github page without updating the python package index. If you try updating the package, the
Let me know if you've got suggestions about how the docs functionality could be better, or anything else you'd like to see added to the project. |
James, Thanks very much, it now works perfectly. I am going to experiment with the package and drop a line if I have some suggestions to improve the package. Regards, Jan-Peter Vos |
After loading a model ("model = pysd.read_vensim('MVD.mdl')"), a command like "print model.components.doc()" does not work. IPython outputs:
AttributeError: component_class instance has no attribute 'doc'
The text was updated successfully, but these errors were encountered: