From eb0eca1e136d0ea85928da10c316f01032113b78 Mon Sep 17 00:00:00 2001 From: Dimitris Tsapetis Date: Wed, 26 Jul 2023 17:42:03 +0300 Subject: [PATCH] Hides auxiliary file in SORM example --- docs/code/reliability/sorm/{pfn.py => local_pfn.py} | 0 docs/code/reliability/sorm/plot_SORM_nonlinear_function.py | 5 +---- 2 files changed, 1 insertion(+), 4 deletions(-) rename docs/code/reliability/sorm/{pfn.py => local_pfn.py} (100%) diff --git a/docs/code/reliability/sorm/pfn.py b/docs/code/reliability/sorm/local_pfn.py similarity index 100% rename from docs/code/reliability/sorm/pfn.py rename to docs/code/reliability/sorm/local_pfn.py diff --git a/docs/code/reliability/sorm/plot_SORM_nonlinear_function.py b/docs/code/reliability/sorm/plot_SORM_nonlinear_function.py index 6dd0bd924..255386137 100644 --- a/docs/code/reliability/sorm/plot_SORM_nonlinear_function.py +++ b/docs/code/reliability/sorm/plot_SORM_nonlinear_function.py @@ -17,9 +17,6 @@ # Initially we have to import the necessary modules. #%% - -import shutil - import numpy as np from UQpy.run_model.RunModel import RunModel from UQpy.run_model.model_execution.PythonModel import PythonModel @@ -37,7 +34,7 @@ dist1 = Normal(loc=20., scale=2) dist2 = Lognormal(s=s, loc=0.0, scale=scale) -model = PythonModel(model_script='pfn.py', model_object_name="example4",) +model = PythonModel(model_script='local_pfn.py', model_object_name="example4",) RunModelObject4 = RunModel(model=model) form = FORM(distributions=[dist1, dist2], runmodel_object=RunModelObject4) form.run()