Skip to content

Commit

Permalink
Shorten names of files causing installation errors (#1540) (#1545)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl authored Nov 27, 2024
1 parent 4bf597e commit febf2c3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions idaes/core/surrogate/tests/test_onnx_surrogate.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@


def load_onnx_model_data(
name="net_st_net_5000_STM_100_s_2000000_60_5_tanh_1e-06_4096_tr_15481_Calcite_ST",
name="net_Calcite_ST",
):
onnx_folder_name = os.path.join(this_file_dir(), "data", "onnx_models")
onnx_model = onnx.load(os.path.join(onnx_folder_name, "{}.onnx".format(name)))
Expand Down Expand Up @@ -138,7 +138,7 @@ def test_onnx_surrogate_load_and_save_from_file():

onnx_surrogate = ONNXSurrogate.load_onnx_model(
onnx_model_location=os.path.join(this_file_dir(), "data", "onnx_models"),
model_name="net_st_net_5000_STM_100_s_2000000_60_5_tanh_1e-06_4096_tr_15481_Calcite_ST",
model_name="net_Calcite_ST",
)
with TempfileManager.new_context() as tf:
dname = tf.mkdtemp()
Expand Down

0 comments on commit febf2c3

Please sign in to comment.