Skip to content

Commit

Permalink
Issue #96 fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Mar 22, 2022
1 parent cdcf7a7 commit 9fd3165
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions sksurgerybard/widgets/bard_overlay_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ def __init__(self, configuration = None, calib_dir = None):
self._model_list['pointers'] = self._model_list.get('pointers') + 1

bard_visualisation = BardVisualisation(self._get_all_actors(),
self._model_list,
model_visibilities,
model_opacities,
self._model_list,
model_visibilities,
model_opacities,
model_representations)

interaction = configuration.get('interaction', {})
Expand Down
4 changes: 2 additions & 2 deletions tests/visualisation/test_visualisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ def test_model_reps_wrong_length():
}

with pytest.raises(ValueError):
bard_vis = vis.BardVisualisation(actors, model_list,
_bard_vis = vis.BardVisualisation(actors, model_list,
model_representations = ['w', 'w', 'w', 'w'])

#try again with the right length
bard_vis = vis.BardVisualisation(actors, model_list,
_bard_vis = vis.BardVisualisation(actors, model_list,
model_representations = ['w', 'w', 'w'])

def _good_bard_vis():
Expand Down

0 comments on commit 9fd3165

Please sign in to comment.