Skip to content

Commit

Permalink
add comment on howto test annot writing
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsp-spirit committed May 18, 2021
1 parent 4857693 commit 1e2323c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion R/read_fs_annot.R
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,15 @@ annot.max.region.idx <- function(annot) {
}
}




# lh_annot = read.fs.annot("~/data/tim_only/tim/label/lh.aparc.annot");
# rh_annot = read.fs.annot("~/data/tim_only/tim/label/rh.aparc.annot");

# rh_annot_mod = annot.unique(...
# write.fs.annot("~/test.annot", annot=rh_annot_mod);
# To test whether the annot is valid and freesurfer can read it, try converting with mris_convert:
# $ mris_convert --annot ~/test.annot data/tim_only/tim/surf/rh.white rh.aparc.gii

#' @title Make the region names and indices unique across hemispheres for a parcellation.
#'
Expand Down

0 comments on commit 1e2323c

Please sign in to comment.