Skip to content

Commit

Permalink
Print fieldtrip commit # at configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
henneysq committed Feb 5, 2024
1 parent 8ea7bd9 commit e148906
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions util/configure_ft.m
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
addpath '/home/common/matlab/fieldtrip'
ft_defaults
%%
fieldtrip_dir = '~/matlab/fieldtrip';
addpath(fieldtrip_dir);
ft_defaults
%%
repo = gitrepo(fieldtrip_dir);
fprintf('OBS.: Load Fieldtrip at Commit: %s\n', repo.CurrentBranch.LastCommit.ID)

0 comments on commit e148906

Please sign in to comment.