File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " ROILoc"
3- version = " 0.1.0 "
3+ version = " 0.1.1 "
44description = " "
55license = " MIT"
66readme = " README.rst"
Original file line number Diff line number Diff line change @@ -72,14 +72,14 @@ def main(args):
7272 idx = int (rois_idx [roi ][i ]),
7373 output_dir = str (image_path .parent ),
7474 output_file =
75- f"{ stem } _{ args . roi } _{ side } _{ args .transform } _mask.nii.gz" ,
75+ f"{ stem } _{ roi } _{ side } _{ args .transform } _mask.nii.gz" ,
7676 save = True )
7777
7878 coords = get_coords (region .numpy (), margin = args .margin )
7979
8080 crop (
8181 image_path , coords , image_path .parent /
82- f"{ stem } _{ args . roi } _{ side } _{ args .transform } _crop.nii.gz" )
82+ f"{ stem } _{ roi } _{ side } _{ args .transform } _crop.nii.gz" )
8383
8484 print ("[bold green]Done! :)" )
8585
You can’t perform that action at this time.
0 commit comments