Skip to content

Commit

Permalink
Update preprocess.py
Browse files Browse the repository at this point in the history
Change 'out_postfix' from '_brainMask' to  '_masked'
  • Loading branch information
hamzake authored Oct 13, 2020
1 parent 196cb10 commit c305d8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pymialsrtk/interfaces/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,11 @@ class BrainExtractionInputSpec(BaseInterfaceInputSpec):
threshold_loc = traits.Float(0.49, desc='Threshold determining cutoff probability (0.49 by default)')
in_ckpt_seg = File(desc='Network_checkpoint for segmentation', mandatory=True)
threshold_seg = traits.Float(0.5, desc='Threshold determining cutoff probability (0.5 by default)')
out_postfix = traits.Str("_masked.nii.gz", usedefault=True)
out_postfix = traits.Str("_brainMask.nii.gz", usedefault=True)


class BrainExtractionOutputSpec(TraitedSpec):
out_file = File(desc='Brain masked image')
out_file = File(desc='Brain mask image')


class BrainExtraction(BaseInterface):
Expand Down Expand Up @@ -1110,7 +1110,7 @@ class MultipleBrainExtractionInputSpec(BaseInterfaceInputSpec):
threshold_loc = traits.Float(0.49, desc='Threshold determining cutoff probability (0.49 by default)')
in_ckpt_seg = File(desc='Network_checkpoint for segmentation', mandatory=True)
threshold_seg = traits.Float(0.5, desc='Threshold determining cutoff probability (0.5 by default)')
out_postfix = traits.Str("_masked", usedefault=True)
out_postfix = traits.Str("_brainMask", usedefault=True)


class MultipleBrainExtractionOutputSpec(TraitedSpec):
Expand Down

0 comments on commit c305d8f

Please sign in to comment.