let thermal table name be None as default

This commit is contained in:
Olek 2022-09-24 17:07:08 -05:00 committed by GitHub
parent e535d17ae0
commit 67e983218d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ def ace_to_hdf5(destination, xsdir, xsdata, libraries, metastable, libver):
# Add data for new temperature
try:
print(f"Converting {table.name} (ACE) to {data.name} (HDF5)")
data.add_temperature_from_ace(table, metastable)
data.add_temperature_from_ace(table)
except Exception as e:
print(f"Failed to convert {table.name}: {e}")
continue