Skip to content

Commit

Permalink
Fix the indentation error in quick_qc.py that causes errors generally.
Browse files Browse the repository at this point in the history
Traceback (most recent call last):
  File "/FastSurfer/FastSurferCNN/run_prediction.py", line 34, in <module>
    from FastSurferCNN.quick_qc import check_volume
  File "/FastSurfer/FastSurferCNN/quick_qc.py", line 70
    sys.exit(0)
              ^
TabError: inconsistent use of tabs and spaces in indentation
  • Loading branch information
dkuegler authored and m-reuter committed Feb 17, 2023
1 parent e8be8fb commit d203b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FastSurferCNN/quick_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ def check_volume(aparc_aseg_segfile, voxvol, thres=0.75):

if not check_volume(inseg_data, inseg_voxvol):
print('WARNING: Total segmentation volume is very small. Segmentation may be corrupted! Please check.')
sys.exit(0)
sys.exit(0)
else:
sys.exit(0)

0 comments on commit d203b19

Please sign in to comment.