Skip to content

Commit

Permalink
lattice_builder modified
Browse files Browse the repository at this point in the history
  • Loading branch information
1234somesh committed Dec 1, 2024
1 parent 76c384f commit 3e84660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/lattice_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def test_lattice_setup(self):
pmb.set_chain,
"[0 0 0]", "[0 0 0]", node_positions, espresso_system=espresso_system)

lattice.set_colormap(lattice.colormap)
for index, (label, color) in enumerate(lattice.colormap.items()):
lattice.set_colormap(self.colormap)
for index, (label, color) in enumerate(self.colormap.items()):
np.testing.assert_equal(actual = lattice.get_monomer_color(label),desired = color, verbose=True)
np.testing.assert_equal(actual = lattice.get_monomer_color_index(label),desired = index, verbose=True)

Expand Down

0 comments on commit 3e84660

Please sign in to comment.