Commit 3e8a532d authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

sp_high_school: fix metadata parsing

parent 95c21dcb
......@@ -110,7 +110,7 @@ def parse(alts=None):
vs[v] = g.add_vertex()
v = vs[v]
g.vp["class"][v] = row[1]
g.vp["class"][v] = row[2]
g.vp["gender"][v] = row[2]
g = Graph(g, vorder=g.vp.id)
yield alt, g
......@@ -75,7 +75,7 @@ def parse(alts=None):
vs[v] = g.add_vertex()
v = vs[v]
g.vp["class"][v] = row[1]
g.vp["class"][v] = row[2]
g.vp["gender"][v] = row[2]
g = Graph(g, vorder=g.vp.id)
yield alt, g
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment