Skip to content

Commit

Permalink
fix order of coefs
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 2, 2025
1 parent 1ec15d9 commit a2c9f5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
- plugins page
- leader page
- moved intermittant cache location - this requires a restart
- new table for historical experiment assignments
- new SQL table for historical experiment assignments
- plugins page has dropdown to select the unit
- new config entries under storage

- fix PWM3 not cleaning up correctly
- stirring calibrations needs to be redone


Expand Down
4 changes: 2 additions & 2 deletions pioreactor/structs.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@ class _PumpCalibration(CalibrationBase, kw_only=True):
@property
def duration_(self):
assert len(self.curve_data_) == 2
return self.curve_data_[1]
return self.curve_data_[0]

@property
def bias_(self):
assert len(self.curve_data_) == 2
return self.curve_data_[0]
return self.curve_data_[1]

def ml_to_duration(self, ml: pt.mL) -> pt.Seconds:
duration_ = self.duration_
Expand Down
1 change: 0 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ colorlog==6.7.0
msgspec==0.19.0
crudini==0.9.5
iniparse==0.5
six==1.16.0
# lgpio; platform_machine!='armv7l' and platform_machine!='armv6l' # preinstalled on base image

0 comments on commit a2c9f5d

Please sign in to comment.