Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Oct 3, 2023
1 parent 18ce5d6 commit c1445c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pioreactor/automations/dosing/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def execute_io_action(
"Not removing enough waste: waste_ml should be greater than sum of dosed ml"
)

max_ = 0.75 # arbitrary, but should be some value that the pump is well calibrated for
max_ = 0.75 # arbitrary, but should be some value that the pump is well calibrated for. TODO: should this be a constant on the class?
volumes_moved = SummableDict(waste_ml=0.0, **{p: 0.0 for p in all_pumps_ml})
source_of_event = f"{self.job_name}:{self.automation_name}"

Expand Down
6 changes: 3 additions & 3 deletions pioreactor/cli/pio.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ def update_ui(
"""
Update the PioreactorUI
Source, if provided, should be a .tar.gz with a top-level dir like pioreactorui-{branch}/
Source, if provided, should be a .tar.gz with a top-level dir like pioreactorui-{version}/
This is what is provided from Github releases.
"""
logger = create_logger(
Expand All @@ -878,8 +878,8 @@ def update_ui(
version = f"tags/{version}"

if source is not None:
assert branch is not None, "branch must be provided with the -b option"
version_installed = branch
assert version is not None, "version must be provided with the -v option"
version_installed = version

elif branch is not None:
version_installed = quote(branch)
Expand Down

0 comments on commit c1445c4

Please sign in to comment.