Skip to content

Commit

Permalink
Merge branch 'chore_release-8.0.0' into chore_8.0.0-alpha.8-mergeback
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhuff committed Sep 24, 2024
2 parents 57e1dab + 5658b8a commit 2a470ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/opentrons_hardware/sensors/sensor_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def __init__(

async def __aenter__(self) -> None:
"""Create a csv heading for logging pressure readings."""
self.data_file = open(self.data_file, "a")
self.data_file = open(self.data_file, "w")
self.csv_writer = csv.writer(self.data_file)
self.csv_writer.writerows([self.file_heading, self.sensor_metadata])

Expand Down

0 comments on commit 2a470ac

Please sign in to comment.