diff --git a/opencsp/app/scene_reconstruction/lib/SceneReconstruction.py b/opencsp/app/scene_reconstruction/lib/SceneReconstruction.py index 7424b4671..6d38e41bc 100644 --- a/opencsp/app/scene_reconstruction/lib/SceneReconstruction.py +++ b/opencsp/app/scene_reconstruction/lib/SceneReconstruction.py @@ -56,6 +56,7 @@ def __init__( self.camera = camera self.known_point_locations = known_point_locations self.image_paths = glob(image_filter_path) + self.image_paths.sort() # Declare attributes self.images: list[ImageMarker] # Loaded image marker objects diff --git a/opencsp/app/sofast/test/test_integration_single_facet.py b/opencsp/app/sofast/test/test_integration_single_facet.py index 711e86f3a..3e9df6a54 100644 --- a/opencsp/app/sofast/test/test_integration_single_facet.py +++ b/opencsp/app/sofast/test/test_integration_single_facet.py @@ -38,6 +38,7 @@ def setUpClass(cls, base_dir: str | None = None): # Find all test files cls.files_dataset = glob.glob(os.path.join(base_dir, 'calculations_facet/data*.h5')) + cls.files_dataset.sort() if len(cls.files_dataset) == 0: raise ValueError('No single-facet datsets found.')