-
Notifications
You must be signed in to change notification settings - Fork 146
/
test_outlier_correctors.py
22 lines (17 loc) · 1.04 KB
/
test_outlier_correctors.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import pytest
import os
from simba.outlier_tools.outlier_corrector_location import OutlierCorrecterLocation
from simba.outlier_tools.outlier_corrector_movement import OutlierCorrecterMovement
from simba.outlier_tools.skip_outlier_correction import OutlierCorrectionSkipper
@pytest.mark.parametrize("config_path", ['tests/data/test_projects/two_c57/project_folder/project_config.ini'])
def test_outlier_corrector_movement_use_case(config_path):
movement_corrector = OutlierCorrecterMovement(config_path=config_path)
movement_corrector.run()
@pytest.mark.parametrize("config_path", ['tests/data/test_projects/two_c57/project_folder/project_config.ini'])
def test_outlier_corrector_location_use_case(config_path):
location_corrector = OutlierCorrecterLocation(config_path=config_path)
location_corrector.run()
@pytest.mark.parametrize("config_path", ['tests/data/test_projects/two_c57/project_folder/project_config.ini'])
def test_outlier_skipper_use_case(config_path):
skipper = OutlierCorrectionSkipper(config_path=config_path)
skipper.run()