From 25bb3b3f9e2948ab10a2daf59a8f7ab4e2b23678 Mon Sep 17 00:00:00 2001 From: Daniel Bullock Date: Wed, 17 Jul 2019 15:41:33 -0400 Subject: [PATCH] comment to indicate function source Added comment to specify where a sub function was being obtained/borrowed from. --- wma_loadTck.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wma_loadTck.m b/wma_loadTck.m index ed041e7..242b5ae 100644 --- a/wma_loadTck.m +++ b/wma_loadTck.m @@ -3,7 +3,8 @@ % % Loads a tck and converts it to vistasoft format. Requires mrtrix3 % -tracks = read_mrtrix_tracks (filepath); + +% read_mrtrix_tracts from https://github.com/MRtrix3/mrtrix3/blob/master/matlab/read_mrtrix_tracks.mtracks = read_mrtrix_tracks (filepath); mrtrxHeaderFields=fieldnames(tracks); dataInd=contains(mrtrxHeaderFields,'data'); dataTypeInd=contains(mrtrxHeaderFields,'datatype'); @@ -21,4 +22,4 @@ tractOut.fibers=cellfun(@transpose, tracks.data, 'UniformOutput', false)'; tractOut.query_id=-1; -end \ No newline at end of file +end