Skip to content

Commit

Permalink
ENH: remove addition of path to find dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
juanprietob committed Sep 14, 2022
1 parent bac8495 commit 23f051a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/py/dental_model_seg.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@
from vtk.util.numpy_support import vtk_to_numpy, numpy_to_vtk
import sys
import platform
system = platform.system()
if system == 'Windows':
code_path = '\\'.join(os.path.dirname(os.path.abspath(__file__)).split('\\')[:-1])
else:
code_path = '/'.join(os.path.dirname(os.path.abspath(__file__)).split('/')[:-1])
sys.path.append(code_path)

# system = platform.system()
# if system == 'Windows':
# code_path = '\\'.join(os.path.dirname(os.path.abspath(__file__)).split('\\')[:-1])
# else:
# code_path = '/'.join(os.path.dirname(os.path.abspath(__file__)).split('/')[:-1])
# sys.path.append(code_path)

import utils
import post_process
Expand Down

0 comments on commit 23f051a

Please sign in to comment.