From a484051cfb50d7cb661a0db57dd8bfb59c358a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Tue, 14 May 2019 08:31:00 +0200 Subject: [PATCH] minor --- src/caosadvancedtools/cfood.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/caosadvancedtools/cfood.py b/src/caosadvancedtools/cfood.py index d4a2a367..9b2c83d9 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: -- GitLab