Skip to content

Commit

Permalink
prepare update to 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bgraedel committed Feb 15, 2024
1 parent 9d720e5 commit b93aaca
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 31 deletions.
19 changes: 7 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-docstring-first
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.4.0
hooks:
- id: setup-cfg-fmt
args: [--include-version-classifiers]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.2.1
hooks:
- id: ruff
args: [--fix, --line-length=120]
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/myint/autoflake
Expand All @@ -25,15 +20,15 @@ repos:
- id: autoflake
args: ["--in-place", "--remove-all-unused-imports"]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.2.0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py38-plus, --keep-runtime-typing]
Expand All @@ -42,7 +37,7 @@ repos:
hooks:
- id: napari-plugin-checks
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.8.0
hooks:
- id: mypy
files: "^src/"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = arcos-gui
version = 0.1.2
version = 0.1.3
description = A napari plugin to detect and visualize collective signaling events
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion src/arcos_gui/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Arcos GUI Plugin for Napari."""

__version__ = "0.1.2"
__version__ = "0.1.3"


from arcos_gui._helper_functions import (
Expand Down
2 changes: 1 addition & 1 deletion src/arcos_gui/layerutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Benjamin Graedel"""
__email__ = "benjamin.graedel@unibe.ch"
__version__ = "0.1.2"
__version__ = "0.1.3"

from arcos_gui.layerutils._layer_maker import Layermaker

Expand Down
2 changes: 1 addition & 1 deletion src/arcos_gui/processing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Benjamin Graedel"""
__email__ = "benjamin.graedel@unibe.ch"
__version__ = "0.1.2"
__version__ = "0.1.3"


from arcos_gui.processing._arcos_wrapper import BatchProcessor, arcos_worker
Expand Down
28 changes: 15 additions & 13 deletions src/arcos_gui/processing/_data_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def value(self, value: T):
f"Value for {self.value_name} must be of type {type(self._value)}"
)

self._value = value
self._value = cast(T, value)
self._notify_observers()

def _notify_observers(self):
Expand Down Expand Up @@ -536,19 +536,21 @@ def extract_values(obj):
def import_from_yaml(
self,
filepath: str,
selected_attributes: Sequence[
Literal[
"file_name",
"columns",
"arcos_parameters",
"min_max_meas",
"point_size",
"lut",
"output_order",
"min_max_tracklenght",
selected_attributes: (
Sequence[
Literal[
"file_name",
"columns",
"arcos_parameters",
"min_max_meas",
"point_size",
"lut",
"output_order",
"min_max_tracklenght",
]
]
]
| None = None,
| None
) = None,
):
"""Imports the parameters from a YAML file and updates the attributes of DataStorage class.
Expand Down
2 changes: 1 addition & 1 deletion src/arcos_gui/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Benjamin Graedel"""
__email__ = "benjamin.graedel@unibe.ch"
__version__ = "0.1.2"
__version__ = "0.1.3"


from arcos_gui.tools._config import (
Expand Down
2 changes: 1 addition & 1 deletion src/arcos_gui/widgets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Benjamin Graedel"""
__email__ = "benjamin.graedel@unibe.ch"
__version__ = "0.1.2"
__version__ = "0.1.3"

from arcos_gui.widgets._arcos_widget import ArcosController
from arcos_gui.widgets._bottom_bar_widget import BottombarController
Expand Down

0 comments on commit b93aaca

Please sign in to comment.