Closed bbartley closed 4 years ago
This one is a little puzzling... the failing case appears very similar to this test case which passes: https://github.com/SynBioDex/pySBOL2/blob/master/test/test_property.py#L158
The failing case in the issue description uses integers for the upper and lower bounds, while the cited test case uses strings as the upper and lower bounds. Pull request #347 allows integers (and floats) for the bounds arguments on all Property instances. A test case derived from the cited test case has been added as well.
Example:
This results in
TypeError: 'DataSheet' object is not iterable
The error results because
if self.getUpperBound() == '1':
evaluates as False