Skip to content

Commit 23f051a

Browse files
committed
ENH: remove addition of path to find dependencies
1 parent bac8495 commit 23f051a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/py/dental_model_seg.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
from vtk.util.numpy_support import vtk_to_numpy, numpy_to_vtk
3535
import sys
3636
import platform
37-
system = platform.system()
38-
if system == 'Windows':
39-
code_path = '\\'.join(os.path.dirname(os.path.abspath(__file__)).split('\\')[:-1])
40-
else:
41-
code_path = '/'.join(os.path.dirname(os.path.abspath(__file__)).split('/')[:-1])
42-
sys.path.append(code_path)
37+
38+
# system = platform.system()
39+
# if system == 'Windows':
40+
# code_path = '\\'.join(os.path.dirname(os.path.abspath(__file__)).split('\\')[:-1])
41+
# else:
42+
# code_path = '/'.join(os.path.dirname(os.path.abspath(__file__)).split('/')[:-1])
43+
# sys.path.append(code_path)
4344

4445
import utils
4546
import post_process

0 commit comments

Comments
 (0)