Skip to content

Commit

Permalink
updated the location of the test data following the rename of the sal…
Browse files Browse the repository at this point in the history
…zburg tutorial into connectivity_aef
  • Loading branch information
robertoostenveld committed Jan 22, 2025
1 parent e145829 commit 46d9396
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions test/test_example_atlas_based_mni_grid.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@

%%

% data from ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/salzburg/mri.mat
% data from ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/connectivity_aef/mri.mat

mri = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/salzburg/mri.mat'));
mri = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/connectivity_aef/mri.mat'));

cfg = [];
cfg.warpmni = 'yes';
Expand All @@ -72,7 +72,7 @@

close all

hdm = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/salzburg/hdm.mat'));
hdm = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/connectivity_aef/hdm.mat'));

hdm = ft_convert_units(hdm, 'm');
sourcemodel = ft_convert_units(sourcemodel, 'm');
Expand Down
8 changes: 4 additions & 4 deletions test/test_example_sourcemodel_aligned2mni_atlas20220113.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
ft_plot_mesh(template_grid.pos(template_grid.inside,:));

%
% Load the subject-specific MRI from [here](ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/salzburg/mri.mat) and inverse-warp the subject specific grid to the template grid.
% Load the subject-specific MRI from [here](ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/connectivity_aef/mri.mat) and inverse-warp the subject specific grid to the template grid.
%
mri = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/salzburg/mri.mat'));
mri = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/connectivity_aef/mri.mat'));

cfg = [];
cfg.warpmni = 'yes';
Expand All @@ -66,11 +66,11 @@
cfg.mri = mri;
sourcemodel = ft_prepare_sourcemodel(cfg);

% Finally, you can load the subject-specific headmodel from [here](ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/salzburg/hdm.mat) and check the result with the following code.
% Finally, you can load the subject-specific headmodel from [here](ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/connectivity_aef/hdm.mat) and check the result with the following code.
%
close all

hdm = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/salzburg/hdm.mat'));
hdm = ft_read_mri(dccnpath('/project/3031000.02/external/download/tutorial/connectivity_aef/hdm.mat'));

hdm = ft_convert_units(hdm, 'm');
sourcemodel = ft_convert_units(sourcemodel, 'm');
Expand Down

0 comments on commit 46d9396

Please sign in to comment.