Refactor + tests (#6)
- Minor codebase clean-up - Slight reorganisation of examples + tests so that we don't break stuff by accident - CI tests
This commit was merged in pull request #6.
This commit is contained in:
@@ -43,11 +43,8 @@ class ReactionSystem(object):
|
||||
self.add_bg_set_entity(e)
|
||||
|
||||
def is_in_background_set(self, entity):
|
||||
"""Checks if the given name is valid wrt the background set="""
|
||||
if entity in self.background_set:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
"""Checks if the given name is valid wrt the background set"""
|
||||
return entity in self.background_set
|
||||
|
||||
def get_entity_id(self, name):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user