+Move longitudinal FreeSurfer outputs to longitudinal session folders…#374
+Move longitudinal FreeSurfer outputs to longitudinal session folders…#374
Conversation
… instead of symlinking +remove target transform if it was created as symlink from a read-only source +clean up large files in longitudinal diffusion output (NEEDS REVIEW)
|
I don't think we need copies of much of anything from the cross-sectional ${Subject} folders persisting in the longitudinal ${Subject} folders. I suspect these copies and symlinks were being done mainly to avoid needing to figure out exactly what files needed to be temporarily used. In the longitudinal folders, every single file (except I guess files that are time only and have no space), will need to either be in the template aligned T1w space or the new MNI space. I would be better able to assist by reviewing the output files rather than the code. |
…, used by longitudinal FS +remove 'fsaverage' symlink in template's T1s folder, created by FS +added comments with example timepoint folder names in longitudinal Freesurfer and HCP structure.
|
Why does the moving of the per-session FS longitudinal output occur in the HCPpipelines/PostFreeSurfer/PostFreeSurferPipelineLongPrep.sh Lines 129 to 143 in 847f19c |
|
Just speculating, but if we have already run LongFS and don't want to rerun it, then PostFSLong will have to deal with whatever conventions it used regardless. But, it might still be a good idea to also edit LongFS to put things in their final location when possible (though this means making sure PostFSLong can deal with both situations). |
|
None of this has been run yet "in production", so I feel no need to maintain any backwards compatibility here. Unless we are using an FS tool that requires an FS-style |
…ode needs attention in other places.
|
This 'why' has mainly historical reasons, so I agree it would be cleaner to move longitudinal session dirs in the end of longitudinal FS. Since the number of changes in this PR already calls for a full retest of longitudinal stream, it's probably fine to change now rather than later. UPD: addressed here: d935cd3 |
+fix situation where non-existent "$MNIFolder/Results/$extractNameOut" folder breaks longitudinal processing.
…alMaps.sh Co-authored-by: Tim Coalson <coalsont@users.noreply.github.com>
…alMaps.sh Co-authored-by: Tim Coalson <coalsont@users.noreply.github.com>
Co-authored-by: Tim Coalson <coalsont@users.noreply.github.com>
Co-authored-by: Tim Coalson <coalsont@users.noreply.github.com>
https://github.com/Washington-University/HCPpipelines/pull/374/changes#r2968402173 https://github.com/Washington-University/HCPpipelines/pull/374/changes#r2968476086 https://github.com/Washington-University/HCPpipelines/pull/374/changes#r2968415790 https://github.com/Washington-University/HCPpipelines/pull/374/changes#r2968453047 https://github.com/Washington-University/HCPpipelines/pull/374/changes#r2968457379
|
It looks like there is a conflict from adding longitudinal |
Resolved in 3fa8604 |
|
There appears to be potential for conflict with the NHP fMRIVolume and Diffusion PRs (some of the same files edited). Maybe this PR should wait? |
… and clearer disentanglement of AtlasSpaceFolder variables.
…om/Washington-University/HCPpipelines into longitudinal-file-management-patch
See bc88380. This needs review before merging.
+Move longitudinal FreeSurfer outputs to longitudinal session folders instead of symlinking
+remove target transform if it was created as symlink from a read-only source
+clean up large files in longitudinal diffusion output (NEEDS REVIEW)