Skip to content

Commit

Permalink
bugfix missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Aug 30, 2023
1 parent 0451f37 commit 3f983ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,10 @@
'bin/TotalSegmentator', 'bin/totalseg_combine_masks', 'bin/crop_to_body',
'bin/totalseg_import_weights', 'bin/totalseg_download_weights',
'bin/totalseg_setup_manually', 'bin/totalseg_set_license'
]
],
# entry_points={
# 'console_scripts': [
# 'TotalSegmentator=totalsegmentator:main'
# ],
# },
)
4 changes: 3 additions & 1 deletion tests_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import shutil
import subprocess

from totalsegmentator.python_api import totalsegmentator


if __name__ == "__main__":

Expand All @@ -16,7 +18,7 @@
# Test terminal
# Test organ predictions - fast - multilabel
# makes correct path for windows and linux. Only required for terminal call. Within python
# I can always / and i will correctly be interpreted on windows
# I can always use / and it will correctly be interpreted on windows
file_in = os.path.join("tests", "reference_files", "example_ct_sm.nii.gz")
print("File_in path:")
print(file_in)
Expand Down

0 comments on commit 3f983ae

Please sign in to comment.