Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
smathermather committed Aug 9, 2024
1 parent 6a02e85 commit df310ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stages/odm_georeferencing.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ def powerr(r):
las_stats = json.load(stats)
spacing = powerr(las_stats['spacing'])
log.ODM_INFO("las scale calculated as the minimum of 1/10 estimated spacing or %s, which ever is less." % las_scale)
if las_scale <= spacing:
# Leave las scale alone
else:
las_scale = spacing
if las_scale <= spacing:
# Leave las scale alone
else:
las_scale = spacing
except Exception as e:
log.ODM_WARNING("Cannot find file point_cloud_stats.json. Using default las scale: %s" % las_scale)
else:
Expand Down

0 comments on commit df310ce

Please sign in to comment.