Skip to content

Commit

Permalink
[pre-commit.ci] Fixing issues with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 28, 2023
1 parent 03864fe commit f31f77a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,10 @@ def load_scan_topostats() -> LoadScans:
return LoadScans([RESOURCES / "file.topostats"], channel="dummy_channel")


@pytest.fixture
@pytest.fixture()
def load_scan_asd() -> LoadScans:
"""Instantiate a LoadScans object from a .asd file."""
scan_loader = LoadScans([RESOURCES / "file.asd"], channel="TP")
return scan_loader
return LoadScans([RESOURCES / "file.asd"], channel="TP")


# Minicircle fixtures
Expand Down
1 change: 0 additions & 1 deletion topostats/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ def load_asd(self) -> tuple:
tuple: (np.ndarray, float)
A tuple containing the image and its pixel to nanometre scaling value.
"""

try:
frames: np.ndarray
pixel_to_nm_scaling: float
Expand Down

0 comments on commit f31f77a

Please sign in to comment.