X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Fmodels.py;h=b41fe851d10f9164fe86b8874e071f2d952ac70d;hb=0be92069d46130aad675fa715184e9c209140ce9;hp=451d7fb2cf6dd3741400faa12c233cdc7ea19249;hpb=8aa08d5bb8abcd206ae44ecf8f6f80962ca69d61;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}