Skip to content

Commit

Permalink
fix: remove unnecessary variable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
AngRodrigues committed Apr 24, 2024
1 parent bea7e7a commit fb44fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions map2loop/thickness_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def compute(
If the thickness is not calculated for a given unit, the assigned thickness will be -1.
For the bottom and top units of the stratigraphic sequence, the assigned thickness will also be -1.
"""
sampled_contacts = map_data.sampled_contacts

sampled_structures = structure_data
basal_contacts = basal_contacts.copy()

Expand All @@ -430,7 +430,7 @@ def compute(
crs=basal_contacts.crs,
)
sampled_structures['unit_name'] = geopandas.sjoin(sampled_structures, geology)['UNITNAME']
sampled_basal_contacts = rebuild_sampled_basal_contacts(basal_contacts, sampled_contacts)
sampled_basal_contacts = rebuild_sampled_basal_contacts(basal_contacts, map_data.sampled_contacts)

basal_contacts_bu = basal_contacts.copy()
basal_contacts_bu['geometry'] = basal_contacts_bu.buffer(0.1)
Expand Down

0 comments on commit fb44fef

Please sign in to comment.