Skip to content

Commit

Permalink
fix: parameters for filter diagnostics is not a list (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptk committed Jun 11, 2024
1 parent 50119fe commit de9bea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyomnilogic_local/models/filter_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def load_xml(xml: str) -> FilterDiagnostics:
xml,
# Some things will be lists or not depending on if a pool has more than one of that piece of equipment. Here we are coercing
# everything that *could* be a list into a list to make the parsing more consistent.
force_list=("Parameter", "Parameters"),
force_list=("Parameter"),
)
# The XML nests the Parameter entries under a Parameters entry, this is annoying to work with. Here we are adjusting the data to
# remove that extra level in the data
Expand Down

0 comments on commit de9bea1

Please sign in to comment.