Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Harvey <[email protected]>
  • Loading branch information
bbean23 and e10harvey authored Nov 5, 2024
1 parent 7ba1981 commit 972fd10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opencsp/common/lib/cv/CacheableImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ def to_image(self) -> Image.Image:
return self._image

def _does_source_image_match(self, nparray: np.ndarray):
"""Returns true if this image's source_path image file matches the data
in the given numpy array."""
# Returns true if this image's source_path image file matches the data
# in the given numpy array.
if self._source_path is not None and ft.file_exists(self._source_path):
imarray = np.array(Image.open(self._source_path))
try:
Expand Down

0 comments on commit 972fd10

Please sign in to comment.