Change logic in CrossSectionGroupManager to handle the case where BlockCollection._validRepresentativeBlockTypes is None.
Why is the change being made?
This logic was introduced in PR #1653. The logic checks for the length of _validRepresentativeBlockTypes, assuming it is always a list. It did not consider the case where _validRepresentativeBlockTypes is None.
What is the change?
Change logic in
CrossSectionGroupManager
to handle the case whereBlockCollection._validRepresentativeBlockTypes
isNone
.Why is the change being made?
This logic was introduced in PR #1653. The logic checks for the length of
_validRepresentativeBlockTypes
, assuming it is always alist
. It did not consider the case where_validRepresentativeBlockTypes
is None.Checklist
doc
folder.pyproject.toml
.