From c710da618cf080b890c6b263f3c58a814e9d3311 Mon Sep 17 00:00:00 2001 From: Chris Inskip Date: Fri, 31 May 2019 12:00:49 +0100 Subject: [PATCH] Fix Exception args for unknown aggregator type --- graphsage/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphsage/models.py b/graphsage/models.py index b3b9db45..6b55c47c 100644 --- a/graphsage/models.py +++ b/graphsage/models.py @@ -219,7 +219,7 @@ def __init__(self, placeholders, features, adj, degrees, elif aggregator_type == "gcn": self.aggregator_cls = GCNAggregator else: - raise Exception("Unknown aggregator: ", self.aggregator_cls) + raise Exception("Unknown aggregator: ", aggregator_type) # get info from placeholders... self.inputs1 = placeholders["batch1"]