-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Any time I wanted to include an Unbinding interaction, I got the error
File "/home/slegare/ENS/venv_meta_update/lib/python3.6/site-packages/kami-1.2-py3.6.egg/kami/hierarchy.py", line 851, in add_interaction
nugget, nugget_type = generate_from_interaction(self, interaction)
TypeError: 'NoneType' object is not iterable
I fixed this by adding the following at line 925 of generators.py
elif isinstance(interaction, Unbinding):
gen = BndGenerator(hierarchy)
return gen.generate(interaction)
It works since BndGenerator already sets the "test" parameter to False if the object is not an instance of Binding.
I am confused why this bug occured, since Unbindings were working properly in the past ?
If this fix is ok with you, I can push it.
Metadata
Metadata
Assignees
Labels
No labels