Skip to content

Commit

Permalink
remove cluster plot test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitjohnson committed Apr 26, 2024
1 parent cb5937a commit 2c44a64
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions scimap/tests/test_pl.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,17 @@ def test_densityPlot2D (adata):
assert os.path.exists(full_path), f"File was not created: {full_path}"


# cluster_plots
def test_cluster_plots (adata):
from scimap.plotting.cluster_plots import cluster_plots
output_dir = os.getcwd() + '/testFigures'
fileName = '_matrixplot.pdf'
cluster_plots(adata, group_by='phenotype', output_dir=output_dir)
# check the file exist
full_path = os.path.join(output_dir, fileName)
assert os.path.exists(full_path), f"File was not created: {full_path}"
# =============================================================================
# # cluster_plots
# def test_cluster_plots (adata):
# from scimap.plotting.cluster_plots import cluster_plots
# output_dir = os.getcwd() + '/testFigures'
# fileName = '_matrixplot.pdf'
# cluster_plots(adata, group_by='phenotype', output_dir=output_dir)
# # check the file exist
# full_path = os.path.join(output_dir, fileName)
# assert os.path.exists(full_path), f"File was not created: {full_path}"
# =============================================================================


# umap
Expand Down
Binary file modified testFigures/_matrixplot.pdf
Binary file not shown.
Binary file modified testFigures/_ranked_markers_per_cluster.pdf
Binary file not shown.
Binary file modified testFigures/_umap.pdf
Binary file not shown.

0 comments on commit 2c44a64

Please sign in to comment.