Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Give better name to add_image_layers
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Jun 27, 2022
1 parent 7d494ba commit e44a051
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions brainreg_napari/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
from brainreg_segment.atlas.utils import get_available_atlases


def add_image_layers(
viewer: napari.Viewer, registration_directory: pathlib.Path
def add_registered_image_layers(
viewer: napari.Viewer, *, registration_directory: pathlib.Path
) -> None:
"""
Read in saved registration data and add as layers to the
Expand Down Expand Up @@ -280,7 +280,9 @@ def load_registration_as_layers() -> None:
registration_directory = pathlib.Path(
getattr(widget, "registration_output_folder").value
)
add_image_layers(viewer, registration_directory)
add_registered_image_layers(
viewer, registration_directory=registration_directory
)

def get_gui_logging_args():
args_dict = {}
Expand Down

0 comments on commit e44a051

Please sign in to comment.