diff --git a/examples/hello-world/python_jobs/client-api-pt/cifar10_fl.py b/examples/hello-world/python_jobs/pt/cifar10_fl.py similarity index 100% rename from examples/hello-world/python_jobs/client-api-pt/cifar10_fl.py rename to examples/hello-world/python_jobs/pt/cifar10_fl.py diff --git a/examples/hello-world/python_jobs/client-api-pt/client_api_pt_job.py b/examples/hello-world/python_jobs/pt/client_api_pt_job.py similarity index 100% rename from examples/hello-world/python_jobs/client-api-pt/client_api_pt_job.py rename to examples/hello-world/python_jobs/pt/client_api_pt_job.py diff --git a/examples/hello-world/python_jobs/client-api-pt/net.py b/examples/hello-world/python_jobs/pt/net.py similarity index 100% rename from examples/hello-world/python_jobs/client-api-pt/net.py rename to examples/hello-world/python_jobs/pt/net.py diff --git a/nvflare/fed_job.py b/nvflare/fed_job.py index 04d08258be..6a753feeaf 100644 --- a/nvflare/fed_job.py +++ b/nvflare/fed_job.py @@ -129,8 +129,8 @@ def _create_server_app(self): component = PTFileModelPersistor(model=self.model) self.app.add_component("persistor", component) - component = PTFileModelLocator(pt_persistor_id="persistor") - self.app.add_component("model_locator", component) + component = PTFileModelLocator(pt_persistor_id="persistor") + self.app.add_component("model_locator", component) component = ValidationJsonGenerator() self.app.add_component("json_generator", component) diff --git a/nvflare/job_config/fed_job_config.py b/nvflare/job_config/fed_job_config.py index 2a1d2d969e..d35a30b8f8 100644 --- a/nvflare/job_config/fed_job_config.py +++ b/nvflare/job_config/fed_job_config.py @@ -274,6 +274,7 @@ def _get_filters(self, filters, custom_dir): return r def locate_imports(self, sf, dest_file): + print("dest_file:", dest_file) with open(dest_file, "w") as df: for line in sf: df.write(line)