Skip to content

Commit

Permalink
Use TableTraitsUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Aug 21, 2017
1 parent 2099093 commit 714e053
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
julia 0.6
TextParse 0.1.6
TableTraits 0.0.1
IterableTables 0.4.0
TableTraitsUtils 0.0.1
DataValues 0.1.0
FileIO 0.4.0
HTTP 0.4.2
4 changes: 2 additions & 2 deletions src/CSVFiles.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module CSVFiles

using TextParse, TableTraits, TableTraitsImplementationHelpers, DataValues
using TextParse, TableTraits, TableTraitsUtils, DataValues
import FileIO
using HTTP

Expand All @@ -26,7 +26,7 @@ function TableTraits.getiterator(file::CSVFile)
res = csvread(file.filename, file.delim; file.keywords...)
end

it = TableTraitsImplementationHelpers.create_tableiterator([i for i in res[1]], [Symbol(i) for i in res[2]])
it = TableTraitsUtils.create_tableiterator([i for i in res[1]], [Symbol(i) for i in res[2]])

return it
end
Expand Down
1 change: 1 addition & 0 deletions test/REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DataFrames 0.10.0
IterableTables 0.5.0

0 comments on commit 714e053

Please sign in to comment.