Skip to content

Commit ec658c2

Browse files
committed
ENH: write out hh sr
1 parent 9022b04 commit ec658c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

antspymm/mm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9011,6 +9011,7 @@ def makewideout( x, separator = mysep ):
90119011
if verbose:
90129012
print("Convert T1w to SR via model ", srmodel_T1 )
90139013
t1 = t1w_super_resolution_with_hemispheres( t1, srmodel_T1_mdl )
9014+
ants.image_write( t1, hierfn + 'sr.nii.gz' )
90149015
if not hierexists and not testloop:
90159016
subjectpropath = os.path.dirname( hierfn )
90169017
if verbose:
@@ -9025,7 +9026,8 @@ def makewideout( x, separator = mysep ):
90259026
# over-write the rbp data with a consistent and recent approach ############
90269027
redograding = True
90279028
if redograding:
9028-
myx = antspyt1w.inspect_raw_t1( t1, hierfn + 'rbp' , option='both' )
9029+
myx = antspyt1w.inspect_raw_t1(
9030+
ants.image_read(t1fn), hierfn + 'rbp' , option='both' )
90299031
myx['brain'].to_csv( hierfn + 'rbp.csv', index=False )
90309032
myx['brain'].to_csv( hierfn + 'rbpbrain.csv', index=False )
90319033
del myx

0 commit comments

Comments
 (0)