Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Jul 3, 2024
1 parent 0d54161 commit 7f75482
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/depiction/tools/cli/correct_baseline.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from __future__ import annotations

import shutil
from typing import Annotated, Literal, TYPE_CHECKING
from pathlib import Path
from typing import Annotated, Literal

import cyclopts
import yaml
Expand All @@ -13,8 +14,6 @@
from depiction.persistence import ImzmlReadFile, ImzmlWriteFile
from depiction.tools.correct_baseline import BaselineVariants, CorrectBaseline

from pathlib import Path

app = cyclopts.App()


Expand Down
2 changes: 1 addition & 1 deletion tests/unit/tools/simulate/test_generate_label_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_render(generate) -> None:
image = generate.render()
assert image.n_channels == 3
assert image.dimensions == (2, 2)
assert ["synthetic_0", "synthetic_1", "synthetic_2"] == image.channel_names
assert image.channel_names == ["synthetic_0", "synthetic_1", "synthetic_2"]


if __name__ == "__main__":
Expand Down

0 comments on commit 7f75482

Please sign in to comment.