We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b821a1 commit b5dc9aeCopy full SHA for b5dc9ae
CPAC/surface/surf_preproc.py
@@ -38,8 +38,11 @@ def run_surface(post_freesurfer_folder,
38
39
import os
40
import subprocess
41
-
42
- #freesurfer_folder = os.path.join(freesurfer_folder, 'recon_all')
+
+ recon_all_path = os.path.join(freesurfer_folder, 'recon_all')
43
44
+ if os.path.isdir(recon_all_path):
45
+ freesurfer_folder = recon_all_path
46
47
# DCAN-HCP PostFreeSurfer
48
# Ref: https://github.com/DCAN-Labs/DCAN-HCP/blob/master/PostFreeSurfer/PostFreeSurferPipeline.sh
0 commit comments