forked from mosdef-hub/gmso
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ray_documentation
- Loading branch information
Showing
111 changed files
with
951 additions
and
464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
## Topology: Flexible storage of chemical topology for molecular simulation | ||
## GMSO: General Molecular Simulation Object | ||
|
||
Flexible storage of chemical topology for molecular simulation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,56 @@ | ||
Contributing | ||
------------ | ||
plz help | ||
============ | ||
Contributions are welcomed via `pull requests on GitHub <https://github.com/mattwthompson/topology/pulls>`_. Developers and/or | ||
users will review requested changes and make comments. The rest of this file will serve as a set of general guidelines | ||
for contributors. | ||
|
||
Features | ||
-------- | ||
Implement functionality in a general and flexible fashion | ||
********************************************************* | ||
GMSO is designed to be general and flexible, not limited to single chemistries, file formats, simulation engines, or | ||
simulation methods. Additions to core features should attempt to provide something that is applicable to a variety of | ||
use-cases and not targeted at only the focus area of your research. However, some specific features targeted toward | ||
a limited use case may be appropriate. Speak to the developers before writing your code and they will help you make design | ||
choices that allow flexibility. | ||
|
||
Version control | ||
--------------- | ||
|
||
We currently use the "standard" Pull Request model. Contributions should be implemented on feature branches of forks. | ||
Please try to keep the `master` branch of your fork up-to-date with the `master` branch of the main repository. | ||
|
||
Propose a single set of related changes | ||
**************************************** | ||
|
||
Small changes are preferred over large changes. A major contribution can often be broken down into smaller PRs. Large PRs that | ||
affect many parts of the codebase can be harder to review and are more likely to cause merge conflicts. | ||
|
||
Source code | ||
----------- | ||
Use a consistent style | ||
************************* | ||
It is important to have a consistent style throughout the source code. The following criteria are desired: | ||
|
||
* Lines wrapped to 80 characters | ||
* Lines are indented with spaces | ||
* Lines do not end with whitespace | ||
* For other details, refer to `PEP8 <https://www.python.org/dev/peps/pep-0008>`_ | ||
|
||
To help with the above, there are tools such as `flake8 <https://pypi.org/project/flake8/>`_ and `Black <https://github.com/psf/black>`_. | ||
|
||
Document code with comments | ||
**************************** | ||
All public-facing functions should have docstrings using the numpy style. This includes concise paragraph-style description | ||
of what the class or function does, relevant limitations and known issues, and descriptions of arguments. Internal functions | ||
can have simple one-liner docstrings. | ||
|
||
|
||
Tests | ||
----- | ||
Write unit tests | ||
**************** | ||
All new functionality in GMSO should be tested with automatic unit tests that execute in a few seconds. These tests | ||
should attempt to cover all options that the user can select. All or most of the added lines of source code should be | ||
covered by unit test(s). We currently use `pytest <https://docs.pytest.org/en/latest/>`_, which can be executed simply by calling | ||
`pytest` from the root directory of the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,53 @@ | ||
Data Structures in topology | ||
Data Structures in GMSO | ||
--------------------------- | ||
Following data structures are available within topology, which are generally referred to `CoreMembers` and `CoreTypes`. | ||
Following data structures are available within GMSO, which are generally referred to `CoreMembers` and `CoreTypes`. | ||
|
||
Core Members | ||
============= | ||
|
||
Site | ||
**** | ||
.. autoclass:: topology.Site | ||
.. autoclass:: gmso.Site | ||
:members: | ||
|
||
Bond | ||
**** | ||
.. autoclass:: topology.Bond | ||
.. autoclass:: gmso.Bond | ||
:members: | ||
|
||
Angle | ||
***** | ||
.. autoclass:: topology.Angle | ||
.. autoclass:: gmso.Angle | ||
:members: | ||
|
||
Dihedral | ||
******** | ||
.. autoclass:: topology.Dihedral | ||
.. autoclass:: gmso.Dihedral | ||
:members: | ||
|
||
Potential Classes(CoreTypes) | ||
============================ | ||
.. autoclass:: topology.Potential | ||
.. autoclass:: gmso.Potential | ||
:members: | ||
|
||
AtomType | ||
******** | ||
.. autoclass:: topology.AtomType | ||
.. autoclass:: gmso.AtomType | ||
:members: | ||
|
||
BondType | ||
******** | ||
.. autoclass:: topology.BondType | ||
.. autoclass:: gmso.BondType | ||
:members: | ||
|
||
AngleType | ||
********** | ||
.. autoclass:: topology.AngleType | ||
.. autoclass:: gmso.AngleType | ||
:members: | ||
|
||
DihedralType | ||
************ | ||
.. autoclass:: topology.DihedralType | ||
.. autoclass:: gmso.DihedralType | ||
:members: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ForceField | ||
========== | ||
A force field class implemented for topology core objects | ||
A force field class implemented for GMSO core objects | ||
|
||
.. autoclass:: topology.ForceField | ||
.. autoclass:: gmso.ForceField | ||
:members: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.