Commit 927c624a authored by Siddhartha Laghuvarapu's avatar Siddhartha Laghuvarapu
Browse files

Sort test image frames to preserve order of frames

parent 1fb66bcc
......@@ -85,7 +85,7 @@ class AirbornePredictor:
def get_all_frame_images(self, flight_id):
frames = []
flight_folder = join(self.test_data_path, flight_id)
for frame in listdir(flight_folder):
for frame in sorted(listdir(flight_folder)):
if isfile(join(flight_folder, frame)):
frames.append(frame)
return frames
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment