Skip to content

Commit

Permalink
Hides auxiliary file in SORM example
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtsap committed Jul 26, 2023
1 parent 4435f59 commit eb0eca1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
File renamed without changes.
5 changes: 1 addition & 4 deletions docs/code/reliability/sorm/plot_SORM_nonlinear_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()
Expand Down

0 comments on commit eb0eca1

Please sign in to comment.