Skip to content

Commit

Permalink
Update registration.py
Browse files Browse the repository at this point in the history
Removed unused variable
  • Loading branch information
DelinteNicolas authored Nov 22, 2022
1 parent 9b31fb5 commit c41753f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion elikopy/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ def regallDWIToT1wToT1wCommonSpace(folder_path, p, DWI_type="AP", maskType=None,
mask_path = ""
if maskType is not None and os.path.isfile(folder_path + '/subjects/' + p + "/masks/" + p + '_' + maskType + '.nii.gz'):
mask_path = folder_path + '/subjects/' + p + "/masks/" + p + '_' + maskType + '.nii.gz'
mask, _ = load_nifti(mask_path)
else:
mask_path = None

Expand Down

0 comments on commit c41753f

Please sign in to comment.