Skip to content

Commit

Permalink
fix: update str format
Browse files Browse the repository at this point in the history
  • Loading branch information
AngRodrigues committed Aug 9, 2024
1 parent c643721 commit c3339a6
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 @@ -457,7 +457,7 @@ def compute(

# remove nans from sampled structures
# this happens when there are strati measurements within intrusions. If intrusions are removed from the geology map, unit_name will then return a nan
print('skipping row(s) ', sampled_structures[sampled_structures['unit_name'].isnull()].index.to_numpy(), 'in sampled structures dataset, as they do not spatially coincide with a valid geology polygon \n')
print(f"skipping row(s) {sampled_structures[sampled_structures['unit_name'].isnull()].index.to_numpy()} in sampled structures dataset, as they do not spatially coincide with a valid geology polygon \n")
sampled_structures = sampled_structures.dropna(subset=['unit_name'])


Expand Down Expand Up @@ -491,7 +491,7 @@ def compute(
# check if litho_in is in geology
# for a special case when the litho_in is not in the geology
if len(geology[geology['UNITNAME'] == litho_in]) == 0:
print('There are structural measurements in unit - ', litho_in, ' - that is not in the geology shapefile. Skipping this structural measurement')
print(f"There are structural measurements in unit - {litho_in} - that are not in the geology shapefile. Skipping this structural measurement")
continue
else:
# make a subset of the geology polygon & find neighbour units
Expand Down

0 comments on commit c3339a6

Please sign in to comment.