diff --git a/src/caosadvancedtools/cfood.py b/src/caosadvancedtools/cfood.py index d4a2a367898dacd6100c3e3cf0f1d0f8ca8f467a..9b2c83d979fdb30ab14953ec41a32b13dd36652b 100644 --- a/src/caosadvancedtools/cfood.py +++ b/src/caosadvancedtools/cfood.py @@ -6,6 +6,7 @@ # # Copyright (C) 2018 Research Group Biomedical Physics, # Max-Planck-Institute for Dynamics and Self-Organization Göttingen +# Copyright (C) 2019 Henrik tom Wörden # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -78,6 +79,7 @@ class AbstractCFood(object): # move to api? def set_property(entity, prop, value): # TODO only do something when it is necessary? + if isinstance(prop, db.Entity): name = prop.name else: