Skip to content

Commit c6768c1

Browse files
committed
Revert "Merge branch 'BIDS' into main"
1 parent f7ff6f8 commit c6768c1

File tree

412 files changed

+4
-33901
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

412 files changed

+4
-33901
lines changed

GannetLoad.m

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
end
2121

2222
MRS_struct.loadtime = datetime('now');
23-
MRS_struct.version.Gannet = '3.4.1-dev';
23+
MRS_struct.version.Gannet = '3.4.0';
2424
MRS_struct.version.load = '250805';
2525
VersionCheck(0, MRS_struct.version.Gannet);
2626
ToolboxCheck;
@@ -50,27 +50,25 @@
5050

5151

5252
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
53-
% 0. Parse input arguments and check filenames
53+
% 0. Parse the input arguments and check for typos
5454
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5555

56-
assert(iscell(var_args{1}), 'Filenames must be entered as cell arrays.');
5756
metabfile = var_args{1};
5857
metabfile = GetFullPath(metabfile);
5958
missing = 0;
6059
for filecheck = 1:numel(metabfile)
6160
if ~exist(metabfile{filecheck}, 'file')
62-
fprintf('\nFile #%d in the input list, ''%s'', could not be found.\nPlease check that the filename is correct.\n', filecheck, metabfile{filecheck});
61+
fprintf('\nThe file ''%s'' (#%d) is missing. Typo?\n', metabfile{filecheck}, filecheck);
6362
missing = 1;
6463
end
6564
end
6665

6766
if num_args > 1 && ~isempty(var_args{2})
68-
assert(iscell(var_args{2}), 'Water reference filenames must be entered as cell arrays.');
6967
waterfile = var_args{2};
7068
waterfile = GetFullPath(waterfile);
7169
for filecheck = 1:numel(waterfile)
7270
if ~exist(waterfile{filecheck}, 'file')
73-
fprintf('\nWater reference file #%d in the input list, ''%s'', could not be found.\nPlease check that the filename is correct.\n', filecheck, waterfile{filecheck});
71+
fprintf('\nThe water reference file ''%s'' (#%d) is missing. Typo?\n', waterfile{filecheck}, filecheck);
7472
missing = 1;
7573
end
7674
end

GannetSegment.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
MRS_struct.out.QA.CV_GM(ii) = std(GMvol_thresh, 'omitnan') / mean(GMvol_thresh, 'omitnan');
127127
MRS_struct.out.QA.CJV(ii) = (std(WMvol_thresh, 'omitnan') + std(GMvol_thresh, 'omitnan')) ...
128128
/ abs(mean(WMvol_thresh, 'omitnan') - mean(GMvol_thresh, 'omitnan'));
129-
MRS_struct.out.QA.SNR(ii) = std([WMvol_thresh; GMvol_thresh], 'omitnan') / mean([WMvol_thresh; GMvol_thresh], 'omitnan');
130129
MRS_struct.out.QA.CNR(ii) = abs(mean(WMvol_thresh, 'omitnan') - mean(GMvol_thresh, 'omitnan')) / ...
131130
sqrt(var(airvol_thresh, 'omitnan') + var(WMvol_thresh, 'omitnan') + var(GMvol_thresh, 'omitnan'));
132131

bids-matlab/+bids/+internal/README.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

bids-matlab/+bids/+internal/add_missing_field.m

Lines changed: 0 additions & 13 deletions
This file was deleted.

bids-matlab/+bids/+internal/append_to_layout.m

Lines changed: 0 additions & 183 deletions
This file was deleted.

bids-matlab/+bids/+internal/camel_case.m

Lines changed: 0 additions & 29 deletions
This file was deleted.

bids-matlab/+bids/+internal/create_unordered_list.m

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)