Skip to content

Commit

Permalink
fix undef vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsp-spirit committed Sep 16, 2021
1 parent f505b86 commit c37bc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/vis.R
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ vis.subject.pre <- function(surfaces, pervertex_data, hemi="both", views=c("t4")
stop("both_hemi_colors must be a hemilist")
}

coloredmeshes = coloredmeshes.from.color(subjects_dir, subject_id, both_hemi_colors, hemi, surface=surfaces, metadata=list('src_data'=pervertex_data, 'map'=metadata$map, 'makecmap_options'=makecmap_options));
coloredmeshes = coloredmeshes.from.color(subjects_dir=NULL, subject_id=NULL, both_hemi_colors, hemi, surface=surfaces, metadata=list('src_data'=pervertex_data, 'map'=metadata$map, 'makecmap_options'=makecmap_options));

if(hasIn(rglactions, c('no_vis'))) {
return(coloredmeshes);
Expand Down

0 comments on commit c37bc22

Please sign in to comment.