Skip to content

Commit

Permalink
Sorted all glob lists
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 committed Mar 21, 2024
1 parent 28c4da6 commit 76ed5ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions opencsp/app/sofast/test/test_integration_single_facet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')

Expand Down

0 comments on commit 76ed5ec

Please sign in to comment.