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

Functions to plot networkx graphs of topology objects #492

Merged
merged 81 commits into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
23e9350
Include angle and dihedral information on conversion of topology to n…
CalCraven Jan 9, 2021
905263e
create gmso/formats/networkx.py
CalCraven Jan 10, 2021
07095b3
Add _get_angles_for and _get_dihedrals_for methods for a topology. Se…
CalCraven Jan 12, 2021
3d6e35b
Add functions to clean up networkx plotting, and plot missing angle a…
CalCraven Jan 14, 2021
3b7568e
Add unit tests for _get_x_for where x is bonds, angles, and dihedrals…
CalCraven Jan 15, 2021
c1ff20f
Merge branch 'convert_nx' of https://github.com/CalCraven/gmso into v…
CalCraven Jan 15, 2021
b573ebe
Fix import * and add soft import for matplotlib
CalCraven Jan 20, 2021
9a4d40c
Add unit tests for selecting atomtype parameters, and soft imports fo…
CalCraven Jan 21, 2021
db5933c
change to
CalCraven Jan 21, 2021
9870348
update to current master branch
CalCraven Jan 28, 2021
5cc1c0b
add interactive features to networkx.py
CalCraven Jan 28, 2021
7fe4440
update to master
CalCraven Jan 28, 2021
cc07db2
fix bugs with importing networkx.py functions
CalCraven Jan 28, 2021
b083f03
Merge branch 'master' into vis_atype
daico007 Feb 4, 2021
3bbab12
Convert charge units, clean up if statements for selecting angles and…
CalCraven Feb 4, 2021
6855593
Merge branch 'vis_atype' of https://github.com/CalCraven/gmso into vi…
CalCraven Feb 10, 2021
f77e3d6
Clean up layout for plotting molecules
CalCraven Feb 10, 2021
38cb18c
update charges
CalCraven Feb 10, 2021
960bf8a
Merge branch 'master' of https://github.com/mosdef-hub/gmso
CalCraven Feb 10, 2021
9f49e27
Merge branch 'master' of https://github.com/CalCraven/gmso into vis_a…
CalCraven Feb 10, 2021
842c458
remove Ipython.Display import
CalCraven Feb 10, 2021
a555323
Add messages and support for gmso.topology objects that are missing a…
CalCraven Feb 15, 2021
bc3b24a
Unit tests that are still failing
CalCraven Feb 22, 2021
efb299b
Passing test_highlight_edges
CalCraven Feb 22, 2021
0a5236f
unit tests passing for selecting_parameters
CalCraven Feb 22, 2021
2472a20
update to master
CalCraven Feb 24, 2021
f242e48
Fix unused import, and improve import of test_networkx.py functions
CalCraven Feb 24, 2021
25bd67f
increase unit test coverage
CalCraven Feb 24, 2021
ca9b1c3
Merge branch 'master' of https://github.com/mosdef-hub/gmso into vis_…
CalCraven Feb 24, 2021
5d9c4e3
Add ipywidgets to requirements-test.txt
CalCraven Feb 24, 2021
211917b
Fill out unit tests
CalCraven Feb 25, 2021
9b77799
Merge branch 'master' of https://github.com/mosdef-hub/gmso into vis_…
CalCraven Feb 25, 2021
dc4f323
parameter and get_edges unit tests
CalCraven Feb 26, 2021
cf44fa4
Update to master
CalCraven Mar 11, 2021
354544f
Fix merge issue, update test_return_labels_for_nodes
CalCraven Mar 11, 2021
c8fbae0
create gmso/formats/networkx.py
CalCraven Jan 10, 2021
2b37062
Add functions to clean up networkx plotting, and plot missing angle a…
CalCraven Jan 14, 2021
51e3962
Add _get_angles_for and _get_dihedrals_for methods for a topology. Se…
CalCraven Jan 12, 2021
4a85cd2
Add unit tests for _get_x_for where x is bonds, angles, and dihedrals…
CalCraven Jan 15, 2021
035c32b
Fix import * and add soft import for matplotlib
CalCraven Jan 20, 2021
b470440
Add unit tests for selecting atomtype parameters, and soft imports fo…
CalCraven Jan 21, 2021
c37e189
change to
CalCraven Jan 21, 2021
3582c9e
remove merge conflicts
CalCraven Mar 11, 2021
07606fa
rebase to master
CalCraven Mar 11, 2021
31b8eac
rebase to fee3df2
CalCraven Mar 11, 2021
29f9ed4
Add tests for select_params_on_networkx and select_angles_from_sites
CalCraven Mar 15, 2021
1a8bbf8
unit tests for select_parameters_on_networkx missing angles and dihed…
CalCraven Mar 15, 2021
2b245ce
remove interact fixtures to improve ease for writing unit tests
CalCraven Mar 18, 2021
857ddc0
unit tests for call_interactive_sites
CalCraven Mar 18, 2021
cceb0b8
Merge branch 'master' into vis_atype
daico007 Mar 24, 2021
353eeff
add tests for select_edges and show_bond_info
CalCraven Mar 25, 2021
303cae7
add tests to call_interactive sites
CalCraven Mar 25, 2021
55f1aa0
apply black to clean up code formatting
CalCraven Apr 2, 2021
fae8504
Update gmso/formats/networkx.py
CalCraven Apr 6, 2021
d471f5b
Update gmso/formats/networkx.py
CalCraven Apr 6, 2021
9fe8f32
Update gmso/formats/networkx.py
CalCraven Apr 6, 2021
55972aa
add selectable_dict_for_edges_from_labels function
CalCraven Apr 6, 2021
f0a69d2
fixed an issue with the widgets dropdown not being selectable as a li…
CalCraven Apr 6, 2021
3dde79b
fix behavior with missing atom_types so parameters can still be visua…
CalCraven Apr 7, 2021
d203888
update docstrings for interactive methods
CalCraven Apr 7, 2021
64e1a58
apply black
CalCraven Apr 7, 2021
c69539a
Update gmso/formats/networkx.py
CalCraven Apr 8, 2021
cc31c34
Merge branch 'master' into vis_atype
daico007 Apr 11, 2021
6d2e850
Merge branch 'master' into vis_atype
CalCraven Apr 15, 2021
4fd2dcf
Merge branch 'master' of https://github.com/mosdef-hub/gmso
CalCraven Apr 19, 2021
d0e0dbb
Merge branch 'master' of https://github.com/mosdef-hub/gmso
CalCraven Apr 28, 2021
45fc666
update to master
CalCraven Apr 28, 2021
bfbbc55
remove requirements-test.txt
CalCraven Apr 28, 2021
85c372a
checks for installation of matplotlib and ipywidgets
CalCraven Apr 28, 2021
75a5399
change ipywidgets to widgets
CalCraven Apr 28, 2021
2232aec
update testing with soft imports
CalCraven Apr 28, 2021
cbc9d68
put functions meant to be implemented by users on top, add checks for…
CalCraven Apr 28, 2021
70ef0dc
add matplotlib and ipywidgets for unit testing
CalCraven Apr 28, 2021
3c007d7
skip tests that need a jupyter notebook to run
CalCraven Apr 28, 2021
a9281cd
Merge branch 'master' into vis_atype
CalCraven Apr 28, 2021
334d5d0
switch interactive functions to not be covered by codecov, create gms…
CalCraven Apr 29, 2021
813f605
Merge branch 'vis_atype' of https://github.com/CalCraven/gmso into vi…
CalCraven Apr 29, 2021
fcd1611
Merge branch 'master' into vis_atype
CalCraven May 3, 2021
494553d
add calls to io/nx_utils for functions in formats/networkx.py
CalCraven May 3, 2021
1e7cd86
fix __init__.py for importing networkx functionality
CalCraven May 6, 2021
9f3ad31
improve logic for unit tests
CalCraven May 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion gmso/core/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,6 @@ def _get_bonds_for(self, site):

def _get_angles_for(self, site):
"""Return a list of angles in this Topology that the site is a part of"""

angles = []
for angle in self.angles:
if site in angle.connection_members:
Expand Down
Loading