Skip to content

Commit

Permalink
Merge pull request #562 from dkuegler/fix/allowroot-in-hypvinn-stats
Browse files Browse the repository at this point in the history
BUG: --allow_root does not work for segstats module in hypvinn.
  • Loading branch information
m-reuter authored Aug 27, 2024
2 parents b812c37 + a411f21 commit 80f4e2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HypVINN/utils/stats_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,7 @@ def compute_stats(
args.patch_size = 32
args.device = "auto"
args.lut = FASTSURFER_ROOT / "FastSurferCNN/config/FreeSurferColorLUT.txt"
args.allow_root = False
# We check for this in the parent code
# TODO: it would be better to populate this properly
args.allow_root = True
return main(args)

0 comments on commit 80f4e2a

Please sign in to comment.