Skip to content

Commit

Permalink
File name typo in dendrogram
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Ellaway committed May 15, 2024
1 parent 6554049 commit 7bfd048
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster_conformers/cluster_monomers.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def render_dendrogram(
)
fname = f"{unp}_{unp_range[0]}_{unp_range[1]}_agglomerative_dendrogram"
else:
fname = f"{unp}_aggloomerative_dendrogram"
fname = f"{unp}_agglomerative_dendrogram"

# Save file
io_utils.save_figure(
Expand Down
3 changes: 3 additions & 0 deletions tests/test_cluster_monomers.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ def test_render_dendrogram(self):
executing ClusterConformations().cluster()
"""

# Remove remnants from previous tests
remove_files_in_dir(self.path_save)

# Input data here is a copy of clustering results for UniProt=O34926
test_unp = "B12345"

Expand Down

0 comments on commit 7bfd048

Please sign in to comment.