Skip to content

Commit

Permalink
edit path
Browse files Browse the repository at this point in the history
  • Loading branch information
KatrinPoepp committed Sep 27, 2024
1 parent ec4f996 commit a326b11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions satpy/tests/behave/features/steps/image_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from datetime import datetime
import pytz

#ext_data_path = "/app/ext_data"
ext_data_path = "/home/bildabgleich/pytroll-image-comparison-tests/data"
ext_data_path = "/app/ext_data"
#ext_data_path = "/home/bildabgleich/pytroll-image-comparison-tests/data"
threshold = 2000

# Define a before_all hook to create the timestamp and test results directory
Expand Down Expand Up @@ -70,7 +70,7 @@ def step_when_generate_image(context, composite, satellite):
@then('the generated image should be the same as the reference image')
def step_then_compare_images(context):
# Load the images
imageA = cv2.cvtColor(context.reference_different_image, cv2.COLOR_BGR2GRAY) # reference_different_image for testing only
imageA = cv2.cvtColor(context.reference_image, cv2.COLOR_BGR2GRAY) # reference_different_image for testing only
imageB = cv2.cvtColor(context.generated_image, cv2.COLOR_BGR2GRAY)
# Ensure both images have the same dimensions
if imageA.shape != imageB.shape:
Expand Down

0 comments on commit a326b11

Please sign in to comment.