Skip to content

Commit

Permalink
fix for checking output path existing
Browse files Browse the repository at this point in the history
  • Loading branch information
amitabhverma committed Jan 12, 2025
1 parent 4ef11a1 commit 8ee6c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recOrder/plugin/tab_recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ def _create_acq_contols2(
# Output Data location
# These could be multiple based on user selection for each model
# Inherits from Input by default at creation time
name_without_ext = os.path.splitext(self.input_directory)[0]
name_without_ext = os.path.splitext(Path(self.input_directory).name)[0]
save_path = os.path.join(Path(self.output_directory).absolute(), (name_without_ext + ("_"+c_mode_short+"_"+num_str) + ".zarr"))
save_path_exists = True if Path(save_path).exists() else False
_output_data_loc = widgets.LineEdit(
Expand Down

0 comments on commit 8ee6c05

Please sign in to comment.