Skip to content

Commit ecf3380

Browse files
fixes passing of state path
1 parent f86a52c commit ecf3380

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

digital_land/cli.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,13 @@ def collection_pipeline_makerules_cmd(
144144
incremental_loading_override,
145145
state_path,
146146
):
147-
print("state path", state_path)
148147
return collection_pipeline_makerules(
149148
collection_dir,
150149
specification_dir,
151150
pipeline_dir,
152151
resource_dir,
153152
incremental_loading_override,
154-
state_path,
153+
state_path=state_path,
155154
)
156155

157156

digital_land/collection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def pipeline_makerules(
426426
pipeline_dir,
427427
resource_dir,
428428
incremental_loading_override,
429-
state_path=None,
429+
state_path=state_path,
430430
)
431431

432432
def dataset_resource_map(self):

digital_land/commands.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def collection_pipeline_makerules(
118118
pipeline_dir,
119119
resource_dir,
120120
incremental_loading_override,
121-
state_path=None,
121+
state_path=state_path,
122122
)
123123

124124

digital_land/makerules.py

-8
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ def pipeline_makerules(
7474
state_path=None,
7575
):
7676
dataset_resource = collection.dataset_resource_map()
77-
print(
78-
"inputs:",
79-
specification_dir,
80-
pipeline_dir,
81-
resource_dir,
82-
incremental_loading_override,
83-
state_path,
84-
)
8577
process = get_processing_option(
8678
collection,
8779
specification_dir,

0 commit comments

Comments
 (0)