Skip to content
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

convert all docs to numpy style #1277

Closed
3 tasks done
orbeckst opened this issue Apr 1, 2017 · 5 comments
Closed
3 tasks done

convert all docs to numpy style #1277

orbeckst opened this issue Apr 1, 2017 · 5 comments
Assignees

Comments

@orbeckst
Copy link
Member

orbeckst commented Apr 1, 2017

According to our Style Guide, all doc strings should be in written with the numpy doc formatting. All new docs are being written according to this style (and for an example see the numpy doc/example.py).

Old docs need to be manually converted:

@orbeckst
Copy link
Member Author

orbeckst commented Apr 1, 2017

@tylerjereddy could you have a look at your code in visualization to update the docs to numpy style when you have a moment? Thanks.

@orbeckst
Copy link
Member Author

orbeckst commented Apr 1, 2017

@tylerjereddy ... or if you can find someone willing to do it (new contributors, anyone?) feel free to delegate. But all in visualization is your code so I think you should at least review any changes there.

@orbeckst orbeckst mentioned this issue Apr 17, 2017
4 tasks
orbeckst added a commit that referenced this issue May 13, 2017
orbeckst added a commit that referenced this issue May 15, 2017
- closes #1277
- updated citation for Chavent2014
- shortened module headings
orbeckst added a commit that referenced this issue May 16, 2017
- closes #1277
- updated citation for Chavent2014
- shortened module headings
- better formatting for return values
- added more parameter/return sections to the undocumented helper functions
  (possibly refactor into underscore-hidden functions)
- made clear that "coordinate files" are really "topology
  files" in MDAnalysis parlance: changed variable names and docs accordingly
kain88-de pushed a commit that referenced this issue May 16, 2017
- closes #1277
- updated citation for Chavent2014
- shortened module headings
- better formatting for return values
- added more parameter/return sections to the undocumented helper functions
  (possibly refactor into underscore-hidden functions)
- made clear that "coordinate files" are really "topology
  files" in MDAnalysis parlance: changed variable names and docs accordingly
@kain88-de
Copy link
Member

Are all docs now really numpy style?

@orbeckst
Copy link
Member Author

I think so... always possible that we missed something, of course.

Just did a

git grep :Keywords:

and got

MDAnalysis/analysis/contacts.py:        :Keywords:
MDAnalysis/coordinates/PDB.py:        :Keywords:
MDAnalysis/core/topologyobjects.py:        :Keywords:
MDAnalysis/core/topologyobjects.py:        :Keywords:

so probably a few stragglers that need to be mopped up.

@kain88-de
Copy link
Member

Contacts is deprecated classes that will be removed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants