Skip to content

Commit

Permalink
Set class attribute from input before applying default value
Browse files Browse the repository at this point in the history
  • Loading branch information
nfahlgren committed Aug 14, 2024
1 parent aaecbe0 commit 7cce552
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plantcv/plantcv/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ def __init__(self, array_data, max_wavelength, min_wavelength, max_value, min_va
self.default_bands = default_bands
# The transformation matrix that converts xy coordinates to georeferenced coordinates
# Default is the input list for affine.Affine to make an identity matrix
self.geo_transform = geo_transform
if not geo_transform:
self.geo_transform = (1.0, 0.0, 0.0, 0.0, 1.0, 0.0)
# The coordinate system of a georeferenced image
Expand Down

0 comments on commit 7cce552

Please sign in to comment.