Skip to content

Commit

Permalink
style: [CI] format
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions Bot committed Feb 25, 2024
1 parent 1465327 commit 03aacd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions spatialyze/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ def _create_item_detection_table(self, commit=True):
def _create_metadata_table(self, commit=True):
cursor = self.connection.cursor()
cursor.execute(
"CREATE TABLE Spatialyze_Metadata ("
f"{columns(_schema, METADATA_COLUMNS)})"
"CREATE TABLE Spatialyze_Metadata (" f"{columns(_schema, METADATA_COLUMNS)})"
)
self._commit(commit)
cursor.close()
Expand Down
2 changes: 1 addition & 1 deletion spatialyze/utils/ingest_processed_nuscenes.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def ingest_processed_nuscenes(
traj = Trajectory(
item_id,
frame_nums.tolist(),
k.scene + '-' + k.channel,
k.scene + "-" + k.channel,
obj.object_type,
translations.tolist(),
itemHeadings.tolist(),
Expand Down
2 changes: 1 addition & 1 deletion spatialyze/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def _execute(world: "World", optimization=True):

# execute pipeline
video = Video(v.video, v.camera)
database.update(f'INSERT INTO {METADATA_TABLE} (fps) VALUES ({video.fps})')
database.update(f"INSERT INTO {METADATA_TABLE} (fps) VALUES ({video.fps})")
process = _track(t3ds) if temporal else _detect(d3ds)
vresults[v.video] = process(video, database)

Expand Down

0 comments on commit 03aacd5

Please sign in to comment.