File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -901,9 +901,7 @@ def create_output(
901901
902902 # get template image for plotting cluster maps
903903 bgimg = nb .load (
904- resource_filename (
905- "atlasreader" , "data/templates/MNI152_T1_1mm_brain.nii.gz"
906- )
904+ resource_filename ("atlasreader" , "data/templates/MNI152_T1_1mm_brain.nii.gz" )
907905 )
908906
909907 # plot clusters
Original file line number Diff line number Diff line change @@ -208,9 +208,7 @@ def queryatlas_main():
208208 for atlas in check_atlases (opts .atlas ):
209209 label = read_atlas_peak (atlas , opts .coordinate , opts .prob_thresh )
210210 if isinstance (label , list ):
211- label = "\n {}" .format (" " * 26 ).join (
212- ["{:>2}% {}" .format (* e ) for e in label ]
213- )
211+ label = "\n {}" .format (" " * 26 ).join (["{:>2}% {}" .format (* e ) for e in label ])
214212 print (f"{ atlas .atlas :<25} { label } " )
215213
216214
You can’t perform that action at this time.
0 commit comments