Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/spatialexperiment/_imgutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def read_image(input_image):
raise TypeError(f"Expected PIL Image, path, or URL. Got {type(input_image)}")


def get_img_data(
def construct_img_data(
img: Union[str, os.PathLike],
scale_factor: str,
sample_id: str,
Expand Down
4 changes: 2 additions & 2 deletions src/spatialexperiment/io/tenx_visium.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import biocutils as ut
from singlecellexperiment import read_tenx_mtx
from ..SpatialExperiment import SpatialExperiment
from .._imgutils import get_img_data
from .._imgutils import construct_img_data
from .._initutils import construct_spatial_coords_from_names


Expand Down Expand Up @@ -122,7 +122,7 @@ def read_img_data(
),
None,
)
curr_image_data = get_img_data(
curr_image_data = construct_img_data(
img=image,
scale_factor=scale_factor,
sample_id=sample_id,
Expand Down