We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca0993 commit a9d4056Copy full SHA for a9d4056
1 file changed
map/autoware_vector_map_marker_bag_tools/scripts/insert_vector_map_marker.py
@@ -146,7 +146,7 @@ def create_reader(bag_dir: str) -> SequentialReader:
146
reader.open(storage_options, get_converter_options())
147
except RuntimeError as exc:
148
error_message = str(exc)
149
- if storage_id != "mcap" or "unindexed MCAP file" not in error_message:
+ if storage_id != "mcap" or "not indexed MCAP file" not in error_message:
150
raise
151
print(f"[info] Reindexing input bag: {bag_dir}", file=sys.stderr)
152
Reindexer().reindex(storage_options)
0 commit comments