Skip to content

Commit 7f05825

Browse files
committed
moved some dependencies around
1 parent 1925cac commit 7f05825

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/LightGraphs.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ using GZip
66
using StatsBase
77
using Base.Collections
88
using LightXML
9-
using ParserCombinator.Parsers.GML
9+
using ParserCombinator
10+
using ParserCombinator.Parsers
11+
1012

1113
if VERSION < v"0.4.0-dev"
1214
try

src/persistence.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
# header followed by a list of (comma-delimited) edges - src,dst.
1010
# Multiple graphs may be present in one file.
1111

12-
using ParserCombinator
13-
using ParserCombinator.Parsers
1412

1513
function _read_one_graph(f::IO, n_v::Integer, n_e::Integer, directed::Bool)
1614
readedges = Set{@compat Tuple{Int,Int}}()
@@ -191,7 +189,7 @@ end
191189
Can optionally restrict to a single graph by specifying a name in gname."""
192190
function readgml(filename::AbstractString, gname::AbstractString="")
193191
f = open(readall,filename)
194-
p = parse_dict(f)
192+
p = Parsers.GML.parse_dict(f)
195193
graphs = @compat(Dict{AbstractString, SimpleGraph}())
196194
for gs in p[:graph]
197195

0 commit comments

Comments
 (0)