Skip to content

Commit

Permalink
comment to indicate function source
Browse files Browse the repository at this point in the history
Added comment to specify where a sub function was being obtained/borrowed from.
  • Loading branch information
DanNBullock authored Jul 17, 2019
1 parent ffcdcc3 commit 25bb3b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wma_loadTck.m
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -21,4 +22,4 @@
tractOut.fibers=cellfun(@transpose, tracks.data, 'UniformOutput', false)';
tractOut.query_id=-1;

end
end

0 comments on commit 25bb3b3

Please sign in to comment.