Skip to content

Commit

Permalink
Additional debug logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware committed Mar 15, 2024
1 parent 23faff1 commit 838b950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scos_actions/calibration/interfaces/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,4 @@ def to_json(self) -> None:
dict_to_json.pop("file_path", None)
with open(self.file_path, "w") as outfile:
outfile.write(json.dumps(dict_to_json))
logger.debug("Finished updating calibration file.")
1 change: 1 addition & 0 deletions scos_actions/calibration/sensor_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def update(
:param temp_degC: Temperature at calibration time, in degrees Celsius.
:param file_path: File path for saving the updated calibration data.
"""
logger.debug("Updating calibration file.")
try:
# Get existing calibration data entry which will be updated
data_entry = self.get_calibration_dict(params)
Expand Down

0 comments on commit 838b950

Please sign in to comment.