Skip to content

Commit

Permalink
fix milling workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcleeve2 committed Feb 21, 2025
1 parent 3968e12 commit 6f7e3ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/odemis/acq/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def object_hook(self, obj):

# load the reference image
if feature.path:
filename = os.path.join(feature.path, f"{self.name.value}-{REFERENCE_IMAGE_FILENAME}")
filename = os.path.join(feature.path, f"{feature.name.value}-{REFERENCE_IMAGE_FILENAME}")
if os.path.exists(filename):
feature.reference_image = open_acquisition(filename)[0]
else:
Expand Down
2 changes: 1 addition & 1 deletion src/odemis/gui/win/acquisition.py
Original file line number Diff line number Diff line change
Expand Up @@ -1464,4 +1464,4 @@ def SelectFileDialog(
return None

# project path have been selected...
return dialog.GetPath()
return dialog.GetPath()

0 comments on commit 6f7e3ed

Please sign in to comment.