Skip to content

Commit

Permalink
Merge pull request #70 from chrisjonesBSU/fix-show-ports
Browse files Browse the repository at this point in the history
Fix parameter name passed in `visualize` for showing ports
  • Loading branch information
chrisjonesBSU committed Mar 27, 2024
2 parents 98198da + 8034d73 commit ff9f81d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grits/coarsegrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def visualize(
if atom_names:
atomistic.save(
os.path.join(tmp_dir, "atomistic_tmp.mol2"),
show_ports=show_ports,
include_ports=show_ports,
overwrite=True,
)

Expand Down Expand Up @@ -397,7 +397,7 @@ def visualize(
simplefilter("ignore")
coarse.save(
os.path.join(tmp_dir, "coarse_tmp.mol2"),
show_ports=show_ports,
include_ports=show_ports,
overwrite=True,
)
with open(os.path.join(tmp_dir, "coarse_tmp.mol2"), "r") as f:
Expand Down

0 comments on commit ff9f81d

Please sign in to comment.