Skip to content

Commit

Permalink
testing now appending constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonza10V authored Mar 27, 2024
1 parent d0460e5 commit 4e0e958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_high_level_constructors(self):
if len(enr_comp.features) > 1:
for i in range(len(enr_comp.features)-1):
constraint = sbol3.Constraint(sbol3.SBOL_PRECEDES, enr_comp.features[i], enr_comp.features[i+1])
enr_comp.constraints = [constraint]
enr_comp.constraints.append(constraint)
else:
pass
hlc_doc.add(hlc_enr_comp)
Expand Down

0 comments on commit 4e0e958

Please sign in to comment.