new_design_pol
Dylan Jeannin 2026-09-01 18:13:02 +02:00
parent 846aaeadf0
commit 64d9e456b7
2 changed files with 5 additions and 4 deletions

View File

@ -137,7 +137,7 @@ class InternalMeshing(AMeshingTool):
p.points[k].z = pt1[k].z + \
dj*(pt2[k].z -
pt1[k].z)
p.rk = round(profiles[i].rk + \
p.rk = round(profiles[i].rk +
dj*(profiles[i+1].rk -
profiles[i].rk), 2)
p.name = f'interpol{p.rk}'

View File

@ -278,7 +278,8 @@ def parse_datetime(value):
+ ", ".join(SUPPORTED_DATETIME_FORMATS)
) from iso_error
# If the parsed datetime has timezone information, convert it to UTC and remove the timezone info
# If the parsed datetime has timezone information,
# convert it to UTC and remove the timezone info
if parsed.tzinfo is not None:
parsed = parsed.astimezone(timezone.utc).replace(tzinfo=None)