Skip to content

Commit

Permalink
commended out get_variable_range as the output is not used and the fu…
Browse files Browse the repository at this point in the history
…nction no longer works - some issue with passing tv data.
  • Loading branch information
ym1906 committed Sep 14, 2023
1 parent 556b407 commit 229656c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions process/uncertainties/evaluate_uncertainties.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def run_monte_carlo(args):

NEQNS, itervars = get_neqns_itervars()

LBS, UBS = get_variable_range(itervars, config.factor)
# LBS, UBS = get_variable_range(itervars, config.factor)
param_values = []
config.checks_before_run()
test_dict = {}
Expand Down Expand Up @@ -132,7 +132,7 @@ def run_monte_carlo(args):
% config.no_allowed_unfeasible,
)

# Collect the process solution
# collect the process solution
mfilepath = Path(config.wdir) / "MFILE.DAT"
m_file = mf.MFile(mfilepath)
# Collect the mfile data.
Expand All @@ -146,7 +146,7 @@ def run_monte_carlo(args):
)
# Store DF in list of DFs for the UQ run.
mfile_df_list.append(run_data_df)
config.write_error_summary(j)
# config.write_error_summary(j)
RUN_ID += 1
else:
print(
Expand All @@ -161,8 +161,6 @@ def run_monte_carlo(args):
# Write UQ run DF to h5 file.
mc_run_df.to_hdf("uncertainties_data.h5", key="df", mode="w")

# vary_iteration_variables(itervars, LBS, UBS)


def write_Morris_Method_Output(X, S):
"""Writes Morris Method output to .txt file
Expand Down

0 comments on commit 229656c

Please sign in to comment.