Skip to content

Commit

Permalink
bugfix: Missing default values for optional params (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
erjel authored Mar 16, 2022
1 parent 7d18db4 commit 588e74a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webknossos/webknossos/annotation/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ def add_volume_layer(

def _get_volume_layer(
self,
volume_layer_name: Optional[str],
volume_layer_id: Optional[int],
volume_layer_name: Optional[str] = None,
volume_layer_id: Optional[int] = None,
) -> _VolumeLayer:
assert len(self._volume_layers) > 0, "No volume annotations present."

Expand Down

0 comments on commit 588e74a

Please sign in to comment.