Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 4, 2023
2 parents d3f339a + a094633 commit 0008bb7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/run_tests_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ on:
jobs:
test:


strategy:
fail-fast: false
matrix:
version: [R2021a, R2023a]
os: [ubuntu-latest, macos-latest, windows-latest]
test: [slow, fast]


runs-on: ${{matrix.os}}

steps:
Expand Down
2 changes: 1 addition & 1 deletion schema.json

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions tests/data/reports/ds000117_anat.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@

#### T1-weighted image

The data acquisition was performed in the {{InstitutionName}}, {{InstitutionalDepartmentName}},
{{InstitutionAddress}}.

MRI scans were acquired at {{MagneticFieldStrength}} Tesla using a {{ManufacturersModelName}}
system from {{Manufacturer}}, with serial number {{DeviceSerialNumber}}.
The software version was {{SoftwareVersions}}.

{{PulseSequenceType}} {{ScanningSequence}} {{SequenceVariant}} FLASH structural
MRI data were collected ({{nb_slices}} slices; repetition time, TR= {{RepetitionTime}}
s; echo time, TE= {{echo_time}} ms; flip angle, FA= {{FlipAngle}} deg; field
of view, FOV= {{fov}} mm; matrix size= {{mat_size}}; voxel size= {{vox_size}}
mm).

The data acquisition was performed in the MRC Cognition and Brain Sciences Unit,
{{InstitutionalDepartmentName}}, 15 Chaucer Road, Cambridge CB2 7EF, UK.

Expand Down
6 changes: 6 additions & 0 deletions tests/tests_private/test_append_to_layout.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function test_append_to_layout_basic()
'acq', 'hd', ...
'ce', '', ...
'rec', '', ...
'echo', '', ...
'part', ''));

expected.anat.metafile = {};
Expand All @@ -79,6 +80,10 @@ function test_append_to_layout_basic()
expected.anat.dependencies.data = {};
expected.anat.dependencies.group = {};

fields = fieldnames(expected.anat);
for i = 1:numel(fields)
assertEqual(subject.anat.(fields{i}), expected.anat.(fields{i}));
end
assertEqual(subject.anat, expected.anat);

end
Expand Down Expand Up @@ -123,6 +128,7 @@ function test_append_to_structure_basic_test()
'acq', 'hd', ...
'ce', '', ...
'rec', '', ...
'echo', '', ...
'part', ''));
expected.anat(1, 1).metafile = {};

Expand Down

0 comments on commit 0008bb7

Please sign in to comment.