Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
jimrojerTNO committed Oct 25, 2023
1 parent 8b61669 commit d30d324
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/rtctools_heat_network/workflows/grow_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,9 @@ def post(self):
#
# json_body.append({
# "measurement": asset,
# "time": format_datetime(self.io_tools.datetimes[i].strftime('%Y-%m-%d %H:%M')),
# "time": format_datetime(
# self.io_tools.datetimes[i].strftime('%Y-%m-%d %H:%M')
# ),
# "fields": fields
# })
# client.write_points(points=json_body, database=DB_NAME, batch_size=100)
Expand Down Expand Up @@ -494,7 +496,9 @@ def post(self):
#
# json_body.append({
# "measurement": asset,
# "time": format_datetime(self.io_tools.datetimes[i].strftime('%Y-%m-%d %H:%M')),
# "time": format_datetime(
# self.io_tools.datetimes[i].strftime('%Y-%m-%d %H:%M')
# ),
# "fields": fields
# })
# client.write_points(points=json_body, database=DB_NAME, batch_size=100)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ def read(self):
if (day + day_steps - 1) > max_day:
new_date_times.append(self.io.datetimes[max_day * 24 + 24])
# if day == nr_of_days - day_steps:
# new_date_times.append(self.io_tools.datetimes[-1] + datetime.timedelta(hours=1))
# new_date_times.append(
# self.io_tools.datetimes[-1] + datetime.timedelta(hours=1)
# )
else:
new_date_times.append(self.io.datetimes[day * 24])
# if day == nr_of_days - day_steps:
Expand Down

0 comments on commit d30d324

Please sign in to comment.