diff --git a/recon_surf/paint_cc_into_pred.py b/recon_surf/paint_cc_into_pred.py index e81f5ad9..1d41ae57 100644 --- a/recon_surf/paint_cc_into_pred.py +++ b/recon_surf/paint_cc_into_pred.py @@ -81,7 +81,7 @@ def argument_parse(): def paint_in_cc(pred: npt.ArrayLike, aseg_cc: npt.ArrayLike) -> npt.ArrayLike: """ - Paint corpus callosum segmentation into prediction. + Paint corpus callosum segmentation into aseg+dkt segmentation map. Note, that this function modifies the original array and does not create a copy. diff --git a/recon_surf/rewrite_mc_surface.py b/recon_surf/rewrite_mc_surface.py index bfc0cf93..bd13429e 100644 --- a/recon_surf/rewrite_mc_surface.py +++ b/recon_surf/rewrite_mc_surface.py @@ -56,7 +56,9 @@ def resafe_surface(insurf: str, outsurf: str, pretess: str) -> None: """ Take path to insurf and rewrite it to outsurf thereby fixing vertex locs flag error. - (scannerRAS instead of surfaceRAS after marching cube). + This function fixes header information not properly saved in marching cubes. + It makes sure the file header correctly references the scannerRAS instead of the surfaceRAS, + i.e. filename and volume is set to the correct data in the header. Parameters ----------