ZBT-Tools / pemfc-dash-app

MIT License
2 stars 2 forks source link

Call "results.apply(..)" throws error #55

Closed lufire closed 12 months ago

lufire commented 1 year ago

Steps to reproduce:

  1. Start dash app
  2. Default settings
  3. Parameter Study:
    • Parameter: "anode-bpp-electrical_conductivity"
    • Variation Type: "Percent (+/-)"
    • Values: "1"

Error message: "TypeError: float() argument must be a string or a real number, not 'list'"

Results itself seem to be converged when inspecting "results"-DataFrame in debug mode.

The following call produces the error: https://github.com/ZBT-Tools/pemfc-dash-app/blob/1769deb68547f271eab0efeef8931dc5d1f5d8bc/pemfc_dash/callbacks.py#L661-L665

Optionally, to locate the call throwing the error remove the try-except-block from: https://github.com/ZBT-Tools/pemfc-dash-app/blob/1769deb68547f271eab0efeef8931dc5d1f5d8bc/pemfc_dash/callbacks.py#L615-L735