Skip to content

Commit

Permalink
Merge pull request #1399 from AllenInstitute/GH-1361/bugfix/ophys-pkl…
Browse files Browse the repository at this point in the history
…-lick-tests

GH #1361: Test failure due to licks from pkl file
  • Loading branch information
kschelonka authored Feb 28, 2020
2 parents 19f9515 + 9378fda commit cc6e387
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_visbeh_ophys_data_set():
# All sorts of assert relationships:
assert data_set.api.get_foraging_id() == str(data_set.api.get_behavior_session_uuid())
assert list(data_set.stimulus_templates.values())[0].shape == (8, 918, 1174)
assert len(data_set.licks) == 2432 and list(data_set.licks.columns) == ['time']
assert len(data_set.licks) == 2421 and list(data_set.licks.columns) == ['time']
assert len(data_set.rewards) == 85 and list(data_set.rewards.columns) == ['volume', 'autorewarded']
assert len(data_set.corrected_fluorescence_traces) == 269 and sorted(data_set.corrected_fluorescence_traces.columns) == ['cell_roi_id', 'corrected_fluorescence']
np.testing.assert_array_almost_equal(data_set.running_speed.timestamps, data_set.stimulus_timestamps)
Expand Down

0 comments on commit cc6e387

Please sign in to comment.