Skip to content

Commit

Permalink
Merge branch '2.5.0' of https://github.com/cortex-lab/alyx-matlab int…
Browse files Browse the repository at this point in the history
…o 2.5.0
  • Loading branch information
k1o0 committed Jan 3, 2021
2 parents 460c74c + 99ee9fe commit b7e0c02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Alyx_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ function test_getFile(testCase)
ai = testCase.alyx;
% Test paths from dataset eid
[fullPath, exists] = ai.getFile(testCase.dataset_id);
expected = ['http://ibl.flatironinstitute.org/cortexlab/Subjects/'...
'KS005/2019-04-11/001/alf/_ibl_trials.itiDuration.e84cfbc9-20f6-4e85-b221-aae3c18b2fd9.npy'];
expected = ['https://ibl.flatironinstitute.org/cortexlab/Subjects'...
'/KS005/2019-04-11/001/alf/_ibl_trials.itiDuration.e84cfbc9-20f6-4e85-b221-aae3c18b2fd9.npy'];
testCase.verifyEqual(fullPath{1}, expected, 'Unexpected path returned')
testCase.verifyEqual(exists, [true false false])
testCase.verifyTrue(all(endsWith(fullPath(2:end), ...
Expand All @@ -346,8 +346,8 @@ function test_getFile(testCase)

% Test file record
[fullPath, exists] = ai.getFile(testCase.file_record_ids{1}, 'file');
expected = ['http://ibl.flatironinstitute.org/mainenlab/Subjects/'...
'clns0730/2018-08-24/1/clusters.probes.npy'];
expected = ['https://ibl.flatironinstitute.org/mainenlab/Subjects'...
'/clns0730/2018-08-24/1/clusters.probes.npy'];
testCase.verifyEqual(fullPath, expected, 'Unexpected path returned')
testCase.verifyEqual(numel(ensureCell(fullPath)), numel(exists));

Expand Down

0 comments on commit b7e0c02

Please sign in to comment.