Skip to content

Commit

Permalink
renable cache and add one test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed Jul 25, 2024
1 parent 70ea3b4 commit 48f7cba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ jobs:
python-version: "3.12"

steps:
- name: Cache brainglobe data
uses: actions/cache@v4
with:
path: $HOME/.brainglobe"
key: brainglobe_dir


- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
10 changes: 5 additions & 5 deletions tests/tests/test_brainmapper/test_transform_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,11 @@ def test_initialise_brainreg_data(
)


# def test_get_downsampled_space(transformation_widget_with_data):
# downsampled_space =
# transformation_widget_with_data.get_downsampled_space()
# assert downsampled_space.origin_string == ATLAS_ORIENTATION
#
def test_get_downsampled_space(transformation_widget_with_data):
downsampled_space =
transformation_widget_with_data.get_downsampled_space()
assert downsampled_space.origin_string == ATLAS_ORIENTATION

#
# def test_get_raw_data_space(transformation_widget_with_data):
# raw_data_space = transformation_widget_with_data.get_raw_data_space()
Expand Down

0 comments on commit 48f7cba

Please sign in to comment.