Skip to content

Commit

Permalink
Merge pull request #7 from BerkeleyAutomation/metadata-smallfix
Browse files Browse the repository at this point in the history
small fixes to metadata.db
  • Loading branch information
KeplerC authored Feb 11, 2024
2 parents 0acf080 + 812e2a8 commit 2ba7f04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 2ba7f04

Please sign in to comment.