sgio 0.3.1__py3-none-any.whl → 0.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sgio/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.3.1"
1
+ __version__ = "0.3.2"
sgio/core/builder.py CHANGED
@@ -391,7 +391,8 @@ def addMaterial(mname, mprop):
391
391
 
392
392
  # Thermal property
393
393
  _cte = list(map(float, mprop.get('cte', [])))
394
- m.set('cte', _cte)
394
+ if _cte: # Only set if non-empty (validator requires None or 6 components)
395
+ m.set('cte', _cte)
395
396
  _specific_heat = float(mprop.get('specific_heat', 0))
396
397
  m.set('specific_heat', _specific_heat)
397
398