Skip to content

Commit

Permalink
chore(Python): formatting and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
seankmartin committed Jan 29, 2025
1 parent 104e1cd commit dac994b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/neuroglancer/tool/screenshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ def define_state_modification_args(ap: argparse.ArgumentParser):
"--scale-bar-scale", type=float, help="Scale factor for scale bar", default=1
)


def apply_state_modifications(
state: neuroglancer.ViewerState, args: argparse.Namespace
):
Expand Down
3 changes: 3 additions & 0 deletions python/neuroglancer/viewer_config_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ class LayerSelectionState(JsonObjectWrapper):
class LayerSelectedValues(_LayerSelectedValuesBase):
"""Specifies the data values associated with the current mouse position."""


@export
class PanelResolutionData(JsonObjectWrapper):
__slots__ = ()
Expand All @@ -104,13 +105,15 @@ class PanelResolutionData(JsonObjectWrapper):
height = wrapped_property("height", int)
resolution = wrapped_property("resolution", str)


@export
class LayerResolutionData(JsonObjectWrapper):
__slots__ = ()
name = wrapped_property("name", str)
type = wrapped_property("type", str)
resolution = wrapped_property("resolution", str)


@export
class ScreenshotResolutionMetadata(JsonObjectWrapper):
__slots__ = ()
Expand Down

0 comments on commit dac994b

Please sign in to comment.