Skip to content

Commit

Permalink
merge cali test
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 15, 2025
1 parent f95ad2a commit d08a920
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions pioreactor/tests/test_calibrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,19 @@
from datetime import datetime
from datetime import timezone

import numpy as np
import pytest
from msgspec import ValidationError

from pioreactor import exc
from pioreactor.calibrations import CALIBRATION_PATH
from pioreactor.calibrations import load_active_calibration
from pioreactor.calibrations import load_calibration
from pioreactor.structs import CalibrationBase
from pioreactor.structs import ODCalibration
from pioreactor.utils import local_persistent_storage
from __future__ import annotations

import numpy as np

from pioreactor.calibrations.utils import calculate_poly_curve_of_best_fit
from pioreactor.calibrations.utils import curve_to_callable
from pioreactor.structs import CalibrationBase
from pioreactor.structs import ODCalibration
from pioreactor.utils import local_persistent_storage
from pioreactor.utils.timing import current_utc_datetime


Expand Down Expand Up @@ -188,7 +184,6 @@ def test_predict_ipredict_consistency(calibration) -> None:
assert calibration.ipredict(y) == pytest.approx(x)



def test_linear_data_produces_linear_curve_in_range_even_if_high_degree() -> None:
od = np.sort(
np.r_[
Expand Down

0 comments on commit d08a920

Please sign in to comment.