Skip to content

Commit

Permalink
Merge pull request #172 from kartverket/partition_io_decorator_added_…
Browse files Browse the repository at this point in the history
…to_rbc

Partition io decorator added to rbc
  • Loading branch information
EllingOftedalKV authored Jul 11, 2024
2 parents 5f64c32 + fa63bcd commit 6cf43ac
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

# Importing timing decorator
from custom_tools.decorators.timing_decorator import timing_decorator
from custom_tools.decorators.partition_io_decorator import partition_io_decorator


class ResolveBuildingConflicts:
Expand Down Expand Up @@ -400,6 +401,13 @@ def delete_feature_class(feature_class_path):
if arcpy.Exists(feature_class_path):
arcpy.management.Delete(feature_class_path)

@partition_io_decorator(
input_param_names=[
"building_inputs",
"barrier_inputs",
],
output_param_names=["output_files"],
)
def run(self):
environment_setup.main()
self.building_points_to_squares()
Expand Down

0 comments on commit 6cf43ac

Please sign in to comment.