Skip to content

Commit dbf9fd1

Browse files
Merge pull request #51 from noahsprent/main
Update 01-Calibrations.md
2 parents be10247 + 12ab66a commit dbf9fd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

developer-guide/25-Calibrations/01-Calibrations.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ If you want to add a custom script to create a calibration on the Pioreactor, yo
6767
Define a `CalibrationProtocol` subclass that will hold metadata for your protocol. It should have a `run` method that returns a calibration (a subclass of `CalibrationBase` - see above).
6868

6969
```python
70-
from pioreactor.calibration import CalibrationProtocol
70+
from pioreactor.calibrations import CalibrationProtocol
7171
from pioreactor.utils.timing import current_utc_datetime
7272

7373
class BufferBasedPHProtocol(CalibrationProtocol):
@@ -104,9 +104,10 @@ You can add your code to the `~/.pioreactor/plugins` folder on the Pioreactor, i
104104
and UI. To complete our pH example, add the following to a new Python file in the `~/.pioreactor/plugins` folder:
105105

106106
```python
107-
from pioreactor.calibration import CalibrationProtocol
107+
from pioreactor.calibrations import CalibrationProtocol
108108
from pioreactor.structs import CalibrationBase
109109
from pioreactor.utils.timing import current_utc_datetime
110+
import typing as t
110111

111112
class PHCalibration(CalibrationBase, kw_only=True, tag="ph"):
112113
buffer_solution: t.Literal["4.01", "7.00", "10.01"]

0 commit comments

Comments
 (0)