From ccd9761f60033dea12b5175d814609d0ed9e2f2c Mon Sep 17 00:00:00 2001 From: sronilsson Date: Wed, 20 Nov 2024 20:40:11 +0000 Subject: [PATCH] cleaned --- simba/mixins/feature_extraction_mixin.py | 4 ++-- simba/mixins/feature_extraction_supplement_mixin.py | 2 +- simba/mixins/statistics_mixin.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/simba/mixins/feature_extraction_mixin.py b/simba/mixins/feature_extraction_mixin.py index c3ad33aa7..b4bee05e8 100644 --- a/simba/mixins/feature_extraction_mixin.py +++ b/simba/mixins/feature_extraction_mixin.py @@ -17,9 +17,9 @@ from scipy.spatial.qhull import QhullError import simba -from simba.utils.checks import (check_file_exist_and_readable, +from simba.utils.checks import (check, check_file_exist_and_readable, check_if_filepath_list_is_empty, - check_minimum_roll_windows, check) + check_minimum_roll_windows) from simba.utils.enums import Options, Paths from simba.utils.errors import CountError from simba.utils.read_write import (get_bp_headers, read_config_file, diff --git a/simba/mixins/feature_extraction_supplement_mixin.py b/simba/mixins/feature_extraction_supplement_mixin.py index 7ac5f6ab6..f3c3fd120 100644 --- a/simba/mixins/feature_extraction_supplement_mixin.py +++ b/simba/mixins/feature_extraction_supplement_mixin.py @@ -25,10 +25,10 @@ check_that_column_exist, check_valid_array, check_valid_dataframe, check_valid_lst) from simba.utils.data import detect_bouts +from simba.utils.enums import Formats from simba.utils.errors import CountError, InvalidInputError from simba.utils.printing import SimbaTimer, stdout_success from simba.utils.read_write import get_fn_ext, read_df -from simba.utils.enums import Formats class FeatureExtractionSupplemental(FeatureExtractionMixin): diff --git a/simba/mixins/statistics_mixin.py b/simba/mixins/statistics_mixin.py index 8fb25b26a..a4c5ab937 100644 --- a/simba/mixins/statistics_mixin.py +++ b/simba/mixins/statistics_mixin.py @@ -14,7 +14,8 @@ from typing_extensions import Literal import numpy as np -from numba import (bool_, float32, float64, int8, jit, njit, prange, typed, types) +from numba import (bool_, float32, float64, int8, jit, njit, prange, typed, + types) from scipy import stats from scipy.stats.distributions import chi2 from sklearn.covariance import EllipticEnvelope