Skip to content

Commit

Permalink
set compatible with ASCIIString
Browse files Browse the repository at this point in the history
  • Loading branch information
sfchen committed Aug 10, 2017
1 parent 1bb8cdb commit 3320552
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/OpenGene.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module OpenGene

using DataFrames

# make it compatible for different version of Julia
include("compat.jl")

# all code in Base should have no code dependency on others
Expand Down
4 changes: 3 additions & 1 deletion src/compat.jl
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
import Compat:ASCIIString
if isdefined(Base, :ASCIIString)==false && isdefined(Base, :String)
const ASCIIString = String
end

0 comments on commit 3320552

Please sign in to comment.