Skip to content

Commit

Permalink
debug-4 wasn't MPI...
Browse files Browse the repository at this point in the history
  • Loading branch information
dmontgomeryNREL committed Dec 2, 2024
1 parent 058c370 commit 8f4291e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Exec/RegTests/EB_ODEQty/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
set(PELE_ENABLE_MPI OFF)
set(PELE_PHYSICS_EOS_MODEL Fuego)
set(PELE_PHYSICS_CHEMISTRY_MODEL Davis)
set(PELE_PHYSICS_TRANSPORT_MODEL Simple)
Expand Down
8 changes: 4 additions & 4 deletions Exec/RegTests/EB_ODEQty/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ def test_composition(self):
col_names = ["time", "max_density", "max_rho.Y(AR)", "max_rho.Y(N2)", "max_rho.Y(CO2)"]
var_names = ["AR", "N2", "CO2"]
data = pd.read_csv(file_name, usecols=col_names, delimiter=',')

print("Raw data:\n", data)

# Ensure numeric types for all data columns
data = data.apply(pd.to_numeric, errors="coerce")
print("Raw Data:\n", data)
print("Numeric only data:\n", data)

# Check for NaN values and raise an error if found
if data.isnull().any().any():
print("\nNull data:\n", data.isnull())
raise ValueError("Data contains NaN values after conversion.\n",data)
raise ValueError("Data contains NaN values after conversion.")

time = data["time"]

Expand Down

0 comments on commit 8f4291e

Please sign in to comment.