diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 4f327f8..5721c1b 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -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: diff --git a/tests/tests/test_brainmapper/test_transform_widget.py b/tests/tests/test_brainmapper/test_transform_widget.py index aa1dfbe..284b954 100644 --- a/tests/tests/test_brainmapper/test_transform_widget.py +++ b/tests/tests/test_brainmapper/test_transform_widget.py @@ -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()