Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
add dicarlo.Kar2018cocogray (#17)
Browse files Browse the repository at this point in the history
* add dicarlo.Kar2018cocogray

* fix bucket

brainio_contrib -> brainio_dicarlo
  • Loading branch information
mschrimpf authored Sep 6, 2019
1 parent fb7f5ef commit d0273bd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
Binary file modified brainio_collection/lookup.db
Binary file not shown.
2 changes: 2 additions & 0 deletions tests/test_assemblies.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
'dicarlo.Rajalingham2018.public', 'dicarlo.Rajalingham2018.private',
'dicarlo.Kar2019',
'dicarlo.Kar2018hvm',
'dicarlo.Kar2018cocogray',
))
def test_list_assembly(assembly):
l = brainio_collection.list_assemblies()
Expand All @@ -38,6 +39,7 @@ def test_list_assembly(assembly):
pytest.param('dicarlo.Rajalingham2018.private', marks=[pytest.mark.private_access]),
pytest.param('dicarlo.Kar2019', marks=[pytest.mark.private_access]),
pytest.param('dicarlo.Kar2018hvm', marks=[pytest.mark.private_access]),
pytest.param('dicarlo.Kar2018cocogray', marks=[pytest.mark.private_access]),
])
def test_existence(assembly_identifier):
assert brainio_collection.get_assembly(assembly_identifier) is not None
Expand Down
19 changes: 12 additions & 7 deletions tests/test_stimuli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import imageio
import numpy as np
import pytest

import brainio_collection

Expand Down Expand Up @@ -30,11 +31,15 @@ def test_dicarlohvm(self):
assert image.size > 0


def test_list_stimulus_sets():
@pytest.mark.parametrize('stimulus_set', (
'dicarlo.hvm',
'gallant.David2004',
'tolias.Cadena2017',
'movshon.FreemanZiemba2013',
'dicarlo.objectome.public',
'dicarlo.objectome.private',
'dicarlo.Kar2018cocogray',
))
def test_list_stimulus_set(stimulus_set):
l = brainio_collection.list_stimulus_sets()
assert 'dicarlo.hvm' in l
assert 'gallant.David2004' in l
assert 'tolias.Cadena2017' in l
assert 'movshon.FreemanZiemba2013' in l
assert 'dicarlo.objectome.public' in l
assert 'dicarlo.objectome.private' in l
assert stimulus_set in l

0 comments on commit d0273bd

Please sign in to comment.