Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small fixes to metadata.db #7

Merged
merged 2 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fogros2-rt-x/fogros2_rt_x/bag_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_metadata(self):
"""
metadata = {}
metadata["bag_path"] = self.bag_path
metadata["duraction"] = self.reader.duration
metadata["duration"] = self.reader.duration
metadata["start_time"] = self.reader.start_time
metadata["end_time"] = self.reader.end_time
metadata["message_count"] = self.reader.message_count
Expand Down
2 changes: 1 addition & 1 deletion fogros2-rt-x/fogros2_rt_x/dataset_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create_table_from_metadata(self, metadata):
):
columns[key] = "INTEGER"
else:
columns[key] = "BLOB" # store as it is
columns[key] = "TEXT" # store as it is
columns["should_export_as_rlds"] = "INTEGER"
print(columns)
self.sql_backend.create_table(
Expand Down
Loading