mirror of
https://devops.liangqichi.top/qichi.liang/Orbitin.git
synced 2026-02-10 07:41:29 +08:00
Remove ship number prefix from ship names, merge same ships
This commit is contained in:
@@ -111,7 +111,8 @@ class HandoverLogParser:
|
||||
if not ship_match:
|
||||
continue
|
||||
|
||||
ship_name = f"{ship_match.group(1)}#{ship_match.group(2)}"
|
||||
# 船名只取纯船名(去掉xx#前缀)
|
||||
ship_name = ship_match.group(2)
|
||||
|
||||
vehicles_match = re.search(r'上场车辆数:(\d+)', cleaned)
|
||||
teu_eff_match = re.search(
|
||||
|
||||
Reference in New Issue
Block a user