Commit c2680ce65dd6248a6275818af6ceb1940b6613c2
1 parent
a67777b4
Exists in
master
and in
6 other branches
FIX: A problem with import utils in project
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/project.py
@@ -35,7 +35,7 @@ import data.polydata_utils as pu | @@ -35,7 +35,7 @@ import data.polydata_utils as pu | ||
35 | import data.surface as srf | 35 | import data.surface as srf |
36 | from presets import Presets | 36 | from presets import Presets |
37 | from reader import dicom | 37 | from reader import dicom |
38 | -from utils import Singleton | 38 | +from utils import Singleton, debug |
39 | import version | 39 | import version |
40 | 40 | ||
41 | class Project(object): | 41 | class Project(object): |
@@ -153,7 +153,7 @@ class Project(object): | @@ -153,7 +153,7 @@ class Project(object): | ||
153 | elif type_ == "CT": | 153 | elif type_ == "CT": |
154 | self.threshold_modes = self.presets.thresh_ct | 154 | self.threshold_modes = self.presets.thresh_ct |
155 | else: | 155 | else: |
156 | - utils.debug("Different Acquisition Modality!!!") | 156 | + debug("Different Acquisition Modality!!!") |
157 | self.modality = type_ | 157 | self.modality = type_ |
158 | 158 | ||
159 | def SetRaycastPreset(self, label): | 159 | def SetRaycastPreset(self, label): |