Skip to content

Commit

Permalink
Update rewrite_mc_surface.py
Browse files Browse the repository at this point in the history
Update paint_cc_into_pred.py

Update doc string
  • Loading branch information
dkuegler committed Feb 21, 2024
1 parent f6aefb9 commit a93d76c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recon_surf/paint_cc_into_pred.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 3 additions & 1 deletion recon_surf/rewrite_mc_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down

0 comments on commit a93d76c

Please sign in to comment.