diff --git a/brainrender_napari/widgets/atlas_viewer_view.py b/brainrender_napari/widgets/atlas_viewer_view.py index b69cdf6..90207c5 100644 --- a/brainrender_napari/widgets/atlas_viewer_view.py +++ b/brainrender_napari/widgets/atlas_viewer_view.py @@ -57,7 +57,7 @@ def __init__(self, parent: QWidget = None): if len(get_downloaded_atlases()) == 0: self.no_atlas_available.emit() - # hide not locally available atlases + # hide atlases not available locally for row_index in range(self.model().rowCount()): index = self.model().index(row_index, 0) if self.model().data(index) not in get_downloaded_atlases(): diff --git a/tests/test_unit/test_atlas_table_model.py b/tests/test_unit/test_atlas_table_model.py index 0c2d05b..9dd48b5 100644 --- a/tests/test_unit/test_atlas_table_model.py +++ b/tests/test_unit/test_atlas_table_model.py @@ -29,7 +29,7 @@ def test_model_header(atlas_table_model, column, expected_header): def test_model_header_invalid_column(atlas_table_model): - """Check the table model throws as expected for invalid column""" + """Check the table model throws a value error as expected for invalid column""" invalid_column = 4 with pytest.raises(ValueError): atlas_table_model.headerData(