File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -70,18 +70,26 @@ include("LightDFG/LightDFG.jl")
70
70
@reexport using . LightDFGs
71
71
72
72
function __init__ ()
73
- @require Neo4j= " d2adbeaf-5838-5367-8a2f-e46d570981db" begin
74
- # Include the Cloudgraphs API
75
- include (" CloudGraphsDFG/CloudGraphsDFG.jl" )
76
- end
73
+ @info " Looking for @require modules"
74
+ # FIXME still can't figure @require out
75
+ # @require Neo4j="d2adbeaf-5838-5367-8a2f-e46d570981db" begin
76
+ # @info "Including CloudGraphsDFG"
77
+ # # Include the Cloudgraphs API
78
+ # include("CloudGraphsDFG/CloudGraphsDFG.jl")
79
+ # end
77
80
78
81
@require GraphPlot = " a2cc645c-3eea-5389-862e-a155d0052231" begin
82
+ @info " Including Plots"
79
83
include (" DFGPlots/DFGPlots.jl" )
80
84
@reexport using . DFGPlots
81
85
end
82
86
83
87
end
84
88
89
+ # FIXME still can't figure @require out
90
+ # Include the Cloudgraphs API
91
+ include (" CloudGraphsDFG/CloudGraphsDFG.jl" )
92
+
85
93
# To be moved as necessary.
86
94
include (" Common.jl" )
87
95
Original file line number Diff line number Diff line change 71
71
Retrieve solver data structure stored in a factor.
72
72
"""
73
73
function getData (f:: DFGFactor ):: GenericFunctionNodeData
74
- @warn " getData is deprecated, please use solverData()"
74
+ # FIXME but back in later, it just slows everything down
75
+ if ! (@isdefined getDataWarnOnce)
76
+ @warn " getData is deprecated, please use solverData(), future warnings in getData is suppressed"
77
+ global getDataWarnOnce = true
78
+ end
79
+ # @warn "getData is deprecated, please use solverData()"
75
80
return f. data
76
81
end
77
82
You can’t perform that action at this time.
0 commit comments