File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ def run(self, args: Namespace): # noqa: D102
7575 writer : Writing = self ._create_writer (args )
7676
7777 # open the source file
78- get_logger ().debug (f"opening source dataset: { args .source_id } " )
79- source = reader .read (args .source_id , depth_level = args .depth_level )
78+ get_logger ().debug (f"opening source dataset: { args .target_file } " )
79+ source = reader .read (args .target_file , depth_level = args .depth_level )
8080
8181 # create the processing graph
8282 get_logger ().info ("starting creating processing graph" )
@@ -85,9 +85,9 @@ def run(self, args: Namespace): # noqa: D102
8585
8686 # write the target file
8787 get_logger ().info (
88- f"starting writing target dataset: { args .target_id } "
88+ f"starting writing target dataset: { args .target_file } "
8989 )
90- writer .write (target , args .target_id )
90+ writer .write (target , args .target_file )
9191 get_logger ().info ("finished writing target dataset" )
9292 finally :
9393 get_logger ().info ("starting closing datasets" )
Original file line number Diff line number Diff line change @@ -29,9 +29,8 @@ class Runner:
2929 Runs a processor.
3030
3131 Takes care of parsing command line arguments, setting up the logger,
32- configuring Dask, running (and optionally profiling) the processor,
33- handling exceptions, terminating Dask, and calling system exit with
34- an exit code.
32+ configuring Dask, and running the processor, handling exceptions,
33+ terminating Dask, and calling system exit with an exit code.
3534 """
3635
3736 _parser : ArgumentParser
@@ -143,8 +142,6 @@ def _init_dask(args):
143142 get_logger ().debug ("starting initializing Dask" )
144143 # noinspection PyTestUnpassedFixture
145144 dask .config .set ({"temporary-directory" : args .tmpdir })
146- if args .prof is not None :
147- args .mode = "synchronous"
148145 match args .mode :
149146 case "synchronous" :
150147 dask .config .set (scheduler = "synchronous" )
You can’t perform that action at this time.
0 commit comments