Skip to content

Commit

Permalink
Changed name of sample_images_generator.py to utils.py for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
fercer committed Oct 5, 2023
1 parent 7ca8340 commit 24cd388
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .utils import *
2 changes: 1 addition & 1 deletion tests/test_imageloaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pathlib import Path
import zarr
import numpy as np
from sample_images_generator import IMAGE_SPECS, UNSUPPORTED_IMAGE_SPECS
from tests.utils import IMAGE_SPECS, UNSUPPORTED_IMAGE_SPECS


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/test_samplers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import operator

from skimage import transform
from sample_images_generator import IMAGE_SPECS, MASKABLE_IMAGE_SPECS
from tests.utils import IMAGE_SPECS, MASKABLE_IMAGE_SPECS

import zarrdataset as zds
import math
Expand Down
2 changes: 1 addition & 1 deletion tests/test_zarrdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import tqdm
import numpy as np

from sample_images_generator import IMAGE_SPECS
from tests.utils import IMAGE_SPECS

import torch
from torch.utils.data import DataLoader, ChainDataset
Expand Down
File renamed without changes.

0 comments on commit 24cd388

Please sign in to comment.