From 5ca61c528678f3b8447bab7182c95009c199bd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BCgler?= Date: Wed, 21 Feb 2024 16:45:02 +0100 Subject: [PATCH] Update rewrite_mc_surface.py Fix doc string --- recon_surf/rewrite_mc_surface.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recon_surf/rewrite_mc_surface.py b/recon_surf/rewrite_mc_surface.py index bfc0cf93c..bd13429ee 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 ----------