Skip to content

Commit

Permalink
Refactor frame number extraction logic
Browse files Browse the repository at this point in the history
  • Loading branch information
healthonrails committed Nov 19, 2024
1 parent bde669b commit 5e1850b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion annolid/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ def deleteAllFuturePredictions(self):
if not prediction_file_path.endswith('.json'):
continue

frame_number = int(prediction_file_path.split(
frame_number = int(prediction_file.split(
'_')[-1].replace('.json', ''))
is_future_frames = frame_number > self.frame_number
is_manually_saved = os.path.exists(
Expand Down

0 comments on commit 5e1850b

Please sign in to comment.