initial work on submitting job logic
[qcg-portal.git] / qcg / models.py
index 451d7fb..b41fe85 100644 (file)
@@ -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}