Skip to content

Commit

Permalink
renamed files
Browse files Browse the repository at this point in the history
  • Loading branch information
ngreenwald committed Aug 25, 2020
1 parent f843f32 commit 001821c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from pathlib import Path


from caliban_toolbox.DatasetBuilder import DatasetBuilder
from caliban_toolbox.dataset_builder import DatasetBuilder


def _create_test_npz(path, constant_value=1, X_shape=(10, 20, 20, 3), y_shape=(10, 20, 20, 1)):
Expand Down Expand Up @@ -359,7 +359,7 @@ def test__reshape_dict_no_resize(tmp_path):


def test__reshape_dict_by_tissue(tmp_path, mocker):
mocker.patch('caliban_toolbox.DatasetBuilder.compute_cell_size', mocked_compute_cell_size)
mocker.patch('caliban_toolbox.dataset_builder.compute_cell_size', mocked_compute_cell_size)
_create_minimal_dataset(tmp_path)
db = DatasetBuilder(tmp_path)

Expand Down Expand Up @@ -397,7 +397,7 @@ def test__reshape_dict_by_tissue(tmp_path, mocker):

# TODO: Is there a way to check the resize value of each unique image?
def test__reshape_dict_by_image(tmp_path, mocker):
mocker.patch('caliban_toolbox.DatasetBuilder.compute_cell_size', mocked_compute_cell_size)
mocker.patch('caliban_toolbox.dataset_builder.compute_cell_size', mocked_compute_cell_size)
_create_minimal_dataset(tmp_path)
db = DatasetBuilder(tmp_path)

Expand Down

0 comments on commit 001821c

Please sign in to comment.