Skip to content
Open
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 valis/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ def __init__(self, src_dir, dst_dir, series=None, name=None, image_type=None,
if valtils.get_name(reference_img_f) not in img_names:
if not imgs_ordered:
# Reference image not in img_list, but not ordered. So just append
ref_img_src_dir = len(os.path.split(reference_img_f)[0])
ref_img_src_dir = os.path.split(reference_img_f)[0]
if len(ref_img_src_dir) == 0:
# Only provided file name. Assuming it's located it src directory
reference_img_f = os.path.join(self.dst_dir, reference_img_f)
Expand Down