File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9011,6 +9011,7 @@ def makewideout( x, separator = mysep ):
9011
9011
if verbose:
9012
9012
print("Convert T1w to SR via model ", srmodel_T1 )
9013
9013
t1 = t1w_super_resolution_with_hemispheres( t1, srmodel_T1_mdl )
9014
+ ants.image_write( t1, hierfn + 'sr.nii.gz' )
9014
9015
if not hierexists and not testloop:
9015
9016
subjectpropath = os.path.dirname( hierfn )
9016
9017
if verbose:
@@ -9025,7 +9026,8 @@ def makewideout( x, separator = mysep ):
9025
9026
# over-write the rbp data with a consistent and recent approach ############
9026
9027
redograding = True
9027
9028
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' )
9029
9031
myx['brain'].to_csv( hierfn + 'rbp.csv', index=False )
9030
9032
myx['brain'].to_csv( hierfn + 'rbpbrain.csv', index=False )
9031
9033
del myx
You can’t perform that action at this time.
0 commit comments