From 005ceca6d227059ea1069ebb4e087ad6e8126f8d Mon Sep 17 00:00:00 2001 From: Jan Gutsche Date: Thu, 31 Oct 2024 21:14:17 +0100 Subject: [PATCH] Fix formatting --- ddlitlab2024/dataset/cli.py | 2 +- ddlitlab2024/dataset/recording2mcap.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ddlitlab2024/dataset/cli.py b/ddlitlab2024/dataset/cli.py index 0b5806e..c86e639 100644 --- a/ddlitlab2024/dataset/cli.py +++ b/ddlitlab2024/dataset/cli.py @@ -23,7 +23,7 @@ def __init__(self): self.parser.add_argument("--version", action="store_true", help="Print version and exit") subparsers = self.parser.add_subparsers(dest="command", help="Command to run") - import_parser = subparsers.add_parser(CLICommand.IMPORT.value, help="Import data into the database") + # import_parser = subparsers.add_parser(CLICommand.IMPORT.value, help="Import data into the database") db_parser = subparsers.add_parser(CLICommand.DB.value, help="Database management commands") db_subcommand_parser = db_parser.add_subparsers(dest="db_command", help="Database command") diff --git a/ddlitlab2024/dataset/recording2mcap.py b/ddlitlab2024/dataset/recording2mcap.py index e8759c6..bc975cc 100644 --- a/ddlitlab2024/dataset/recording2mcap.py +++ b/ddlitlab2024/dataset/recording2mcap.py @@ -101,7 +101,7 @@ def write_rotations( # Write rotations logger.info("Writing rotations") - for i, rotation in enumerate(recording.rotations): + for rotation in recording.rotations: rotation_msg = Quaternion( x=rotation.x, y=rotation.y,