Skip to content

Commit

Permalink
Refactored test cases (#97)
Browse files Browse the repository at this point in the history
* regenerated test file for test_align

* regenerated test file for test_model_selection

* regenerated test file for test_paste

* regenerated test file for test_paste_2

* regenerated test file for test_paste_helpers

* regenerated test file for test_visualization

* consolidating test files in a single directory; getting rid of tests/input and tests/output

* unpinned everything expect POT
  • Loading branch information
anushka255 authored Dec 3, 2024
1 parent 0468d03 commit b6a6020
Show file tree
Hide file tree
Showing 149 changed files with 505 additions and 41,081 deletions.
8 changes: 4 additions & 4 deletions docs/source/notebooks/paste2_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
"metadata": {},
"outputs": [],
"source": [
"sliceA_filename = \"../../../tests/data/input/151673.h5ad\"\n",
"sliceB_filename = \"../../../tests/data/input/151674.h5ad\"\n",
"sliceC_filename = \"../../../tests/data/input/151675.h5ad\"\n",
"sliceD_filename = \"../../../tests/data/input/151676.h5ad\"\n",
"sliceA_filename = \"../../../tests/data/151673.h5ad\"\n",
"sliceB_filename = \"../../../tests/data/151674.h5ad\"\n",
"sliceC_filename = \"../../../tests/data/151675.h5ad\"\n",
"sliceD_filename = \"../../../tests/data/151676.h5ad\"\n",
"sliceA = sc.read_h5ad(sliceA_filename)\n",
"sliceB = sc.read_h5ad(sliceB_filename)\n",
"sliceC = sc.read_h5ad(sliceC_filename)\n",
Expand Down
4 changes: 2 additions & 2 deletions docs/source/notebooks/paste_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"metadata": {},
"outputs": [],
"source": [
"data_dir = \"../../../tests/data/input/\"\n",
"data_dir = \"../../../tests/data/\"\n",
"\n",
"\n",
"# Assume that the coordinates of slices are named slice_name + \"_coor.csv\"\n",
Expand Down Expand Up @@ -609,7 +609,7 @@
"metadata": {},
"outputs": [],
"source": [
"data_dir = \"../../../tests/data/input/\"\n",
"data_dir = \"../../../tests/data/\"\n",
"\n",
"\n",
"# Assume that the coordinates of slices are named slice_name + \"_coor.csv\"\n",
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ classifiers = [
]

dependencies = [
"anndata==0.10.9",
"anndata",
"scanpy",
"POT>=0.9.5",
"numpy<2",
"numpy",
"scipy",
"scikit-learn",
"IPython",
Expand Down Expand Up @@ -50,7 +50,7 @@ dev = [
]

docs = [
"sphinx==6.2.1",
"sphinx",
"myst-parser",
"sphinx-autodoc-typehints",
"nbsphinx",
Expand Down
Loading

0 comments on commit b6a6020

Please sign in to comment.