Skip to content

Commit

Permalink
update windows tests (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Aug 30, 2023
1 parent a3c49ad commit 0451f37
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@


if __name__ == "__main__":

# Test python api
# Test organ predictions - fast - statistics
totalsegmentator('tests/reference_files/example_ct_sm.nii.gz', 'tests/unittest_prediction_fast', fast=True, device="cpu")
pytest.main(['-v', 'tests/test_end_to_end.py::test_end_to_end::test_prediction_fast'])

# 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
Expand Down

0 comments on commit 0451f37

Please sign in to comment.