Skip to content

Commit

Permalink
Update usage in test
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson committed May 14, 2024
1 parent 7cfdc10 commit fd3dbc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from importlib.resources import files
from pathlib import Path

import imio
import numpy as np
import pooch
import pytest
from brainglobe_space import AnatomicalSpace
from brainglobe_utils.IO.image.load import load_any
from vedo import Volume as VedoVolume

from brainrender import Animation, Scene, VideoMaker
Expand Down Expand Up @@ -318,8 +318,8 @@ def test_user_volumetric_data():
),
)

datafile = Path(retrieved_paths[1]) # [0] is zip file
data = imio.load.load_any(datafile)
datafile = Path(retrieved_paths[0])
data = load_any(datafile)
source_space = AnatomicalSpace("ira")
target_space = scene.atlas.space
transformed_data = source_space.map_stack_to(target_space, data)
Expand Down

0 comments on commit fd3dbc3

Please sign in to comment.