Skip to content
Snippets Groups Projects
Commit 7e520b0a authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Merge branch 'bf/bianca' into 'master'

Bf/bianca

See merge request fsl/fslpy!370
parents bcb83e65 ccd52b3a
No related branches found
No related tags found
No related merge requests found
Pipeline #17088 canceled
......@@ -71,10 +71,14 @@ def bianca_overlap_measures(lesionmask,
@wutils.fileOrImage('wmh_map', 'vent_mask')
@wutils.fslwrapper
def bianca_perivent_deep(wmh_map, vent_mask, outputdir, do_stats=1):
def bianca_perivent_deep(wmh_map,
vent_mask,
minclustersize,
outputdir,
do_stats=1):
"""Wrapper function for the FSL ``bianca_perivent_deep`` command. """
return ['bianca_perivent_deep', wmh_map, vent_mask,
str(do_stats), outputdir]
str(minclustersize), str(do_stats), outputdir]
@wutils.fileOrImage('struc', 'csf_pve', 'mni2struc')
......
......@@ -574,8 +574,8 @@ def test_bianca():
result = fw.bianca_overlap_measures('lesions', 9, 'mask', True)
assert result.stdout[0] == expected
expected = f'{bianca_perivent_deep} wmh vent 2 out'
result = fw.bianca_perivent_deep('wmh', 'vent', 'out', 2)
expected = f'{bianca_perivent_deep} wmh vent 10 2 out'
result = fw.bianca_perivent_deep('wmh', 'vent', 10, 'out', 2)
assert result.stdout[0] == expected
expected = f'{make_bianca_mask} struc csf warp 1'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment