X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;ds=inline;f=qcg%2Fmodels.py;fp=qcg%2Fmodels.py;h=b41fe851d10f9164fe86b8874e071f2d952ac70d;hb=cc336624de8fa227d247f0e71bd24f829802deb6;hp=451d7fb2cf6dd3741400faa12c233cdc7ea19249;hpb=4a6594602329d9b7689ca9d1fc82778d7c18b0be;p=qcg-portal.git diff --git a/qcg/models.py b/qcg/models.py index 451d7fb..b41fe85 100644 --- a/qcg/models.py +++ b/qcg/models.py @@ -235,6 +235,4 @@ class NodeInfo(models.Model): @staticmethod def qcg_map(qcg_node): - return {'name': qcg_node.name, - # FIXME - 'count': qcg_node.slots_count.intValue() if qcg_node.slots_count is not None else None} + return {'name': qcg_node.name, 'count': qcg_node.slots_count}