Commit 6442ff7197b3b11f735db1c6bdad8a8379e60997
1 parent
45889f5a
Exists in
master
and in
68 other branches
ENH: VTK Warning was displayed when imported with original resolution DICOM
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
invesalius/project.py
@@ -196,7 +196,7 @@ class Project(object): | @@ -196,7 +196,7 @@ class Project(object): | ||
196 | 196 | ||
197 | if not const.VTK_WARNING: | 197 | if not const.VTK_WARNING: |
198 | fow = vtk.vtkFileOutputWindow() | 198 | fow = vtk.vtkFileOutputWindow() |
199 | - #fow.SetFileName('c:\\vtkoutput.txt') | 199 | + fow.SetFileName('vtkoutput.txt') |
200 | ow = vtk.vtkOutputWindow() | 200 | ow = vtk.vtkOutputWindow() |
201 | ow.SetInstance(fow) | 201 | ow.SetInstance(fow) |
202 | 202 |
invesalius/reader/dicom_reader.py
@@ -121,7 +121,7 @@ def GetDicomGroups(directory, recursive=True): | @@ -121,7 +121,7 @@ def GetDicomGroups(directory, recursive=True): | ||
121 | 121 | ||
122 | if not const.VTK_WARNING: | 122 | if not const.VTK_WARNING: |
123 | fow = vtk.vtkFileOutputWindow() | 123 | fow = vtk.vtkFileOutputWindow() |
124 | - #fow.SetFileName('c:\\vtkoutput.txt') | 124 | + fow.SetFileName('vtkoutput.txt') |
125 | ow = vtk.vtkOutputWindow() | 125 | ow = vtk.vtkOutputWindow() |
126 | ow.SetInstance(fow) | 126 | ow.SetInstance(fow) |
127 | 127 |