Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Tatarnikov <[email protected]>
  • Loading branch information
alessandrofelder and IgorTatarnikov authored Dec 20, 2023
1 parent 4aedb5e commit 9c714a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion brainrender_napari/widgets/atlas_viewer_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit/test_atlas_table_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9c714a2

Please sign in to comment.