Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
removed unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdelgrosso committed Apr 12, 2021
1 parent 5f945d1 commit 9961ae8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/models/test_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import numpy.testing as npt
import pytest

from slicereg.models.atlas import Atlas
from slicereg.models.registration import AtlasSectionRegistration
from slicereg.models.section import Section, Image
from slicereg.models.transforms import Transform3D
from slicereg.models.atlas import Atlas


def test_section_registration_to_an_atlas_gets_an_image_with_same_image_parameters():
Expand All @@ -31,7 +31,6 @@ def test_section_registration_to_an_atlas_gets_an_image_with_same_image_paramete
assert atlas_slice.width == 5 and atlas_slice.height == 4



cases = [
{
"atlas_res": 1,
Expand Down Expand Up @@ -99,7 +98,6 @@ def test_section_registration_to_an_atlas_gets_an_image_with_same_image_paramete
def test_section_registration_cuts_correctly_with_diff_resolutions(case):
volume = np.zeros((3, 3, 3))
volume[1, 1, 1] = 1
p = case['pos']
registration = AtlasSectionRegistration(
section=Section(
image=Image(channels=np.ones((1, 3, 3))),
Expand Down

0 comments on commit 9961ae8

Please sign in to comment.