Skip to content

Commit

Permalink
we don't have that saturation on the LEDs anymore, so no need to limi…
Browse files Browse the repository at this point in the history
…t the UB to 50
  • Loading branch information
CamDavidsonPilon committed Aug 26, 2023
1 parent 8a01e29 commit bef9ec5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pioreactor/actions/self_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_all_positive_correlations_between_pds_and_leds(
from pprint import pformat

INTENSITIES = list(
range(20, 80, 5)
range(15, 85, 5)
) # better to err on the side of MORE samples than less - it's only a few extra seconds...
current_experiment_name = get_latest_experiment_name()
results: dict[tuple[LedChannel, PdChannel], float] = {}
Expand Down Expand Up @@ -428,7 +428,6 @@ def click_self_test(k: str) -> int:
testing_experiment = get_latest_testing_experiment_name()
experiment = get_latest_experiment_name()
logger = create_logger("self_test", unit=unit, experiment=experiment)
logger.info("Starting self-test...")

A_TESTS = [
test_pioreactor_HAT_present,
Expand Down Expand Up @@ -467,6 +466,8 @@ def click_self_test(k: str) -> int:
if name.startswith("test_") and (k in name)
}

logger.info(f"Starting self-test. Running {len(functions_to_test)} tests.")

# and clear the mqtt cache first
for f in functions_to_test:
client.publish(
Expand Down

0 comments on commit bef9ec5

Please sign in to comment.