Skip to content

Commit

Permalink
Merge branch 'invesalius:master' into addLogging
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh-ranjan1 authored Aug 28, 2024
2 parents 7dc1e9a + ce7aa71 commit 441bb5f
Show file tree
Hide file tree
Showing 50 changed files with 3,955 additions and 4,452 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def __init__(self):
# except on win64, due to wxWidgets bug
try:
ok = dialog.ShowModal() == wx.ID_OK
except wx._core.PyAssertionError:
except wx.PyAssertionError:
ok = True
finally:
if ok:
Expand Down
6 changes: 3 additions & 3 deletions invesalius/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import itertools
import sys
from typing import Dict, Optional, Tuple, Union
from typing import Dict, List, Optional, Tuple, Union

import psutil
import wx
Expand Down Expand Up @@ -290,7 +290,7 @@
MASK_NAME_PATTERN = _("Mask %d")
MASK_OPACITY = 0.40
# MASK_OPACITY = 0.35
MASK_COLOUR = [
MASK_COLOUR: List[List[float]] = [
[0.33, 1, 0.33],
[1, 1, 0.33],
[0.33, 0.91, 1],
Expand All @@ -312,7 +312,7 @@

MEASURE_COLOUR = itertools.cycle([[1, 0, 0], [1, 0.4, 0], [0, 0, 1], [1, 0, 1], [0, 0.6, 0]])

SURFACE_COLOUR = [
SURFACE_COLOUR: List[Tuple[float, float, float]] = [
(0.33, 1, 0.33),
(1, 1, 0.33),
(0.33, 0.91, 1),
Expand Down
Loading

0 comments on commit 441bb5f

Please sign in to comment.