File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ using DelimitedFiles: readdlm
7
7
using FixedPointNumbers, ColorTypes
8
8
using PyCall
9
9
10
+ # Julia 1.0 compatibility
11
+ if ! isdefined (Base, :isnothing )
12
+ isnothing (x) = x === nothing
13
+ end
14
+
10
15
bytes_to_type (:: Type{UInt8} , A:: Array{UInt8} ) = A
11
16
bytes_to_type (:: Type{N0f8} , A:: Array{UInt8} ) = reinterpret (N0f8, A)
12
17
bytes_to_type (:: Type{T} , A:: Array{UInt8} ) where T<: Integer = convert (Array{T}, A)
@@ -55,11 +60,6 @@ include("planetoid.jl")
55
60
include (" CiteSeer/CiteSeer.jl" )
56
61
include (" TUDataset/TUDataset.jl" )
57
62
58
- # Julia 1.0 compatibility
59
- if ! isdefined (Base, :isnothing )
60
- isnothing (x) = x === nothing
61
- end
62
-
63
63
function __init__ ()
64
64
# initialize optional dependencies
65
65
@require ImageCore= " a09fc81d-aa75-5fe9-8630-4744c3626534" begin
You can’t perform that action at this time.
0 commit comments