-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove test dependency on CSV #1351
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1351 +/- ##
=======================================
Coverage 90.62% 90.62%
=======================================
Files 37 37
Lines 3945 3945
=======================================
Hits 3575 3575
Misses 370 370 Continue to review full report at Codecov.
|
@@ -1,5 +1,7 @@ | |||
using Gadfly, DataFrames, Compat, CSV | |||
using Gadfly, DataFrames, Compat, DelimitedFiles |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there a Compat
here?
test/testscripts/issue120.jl
Outdated
|
||
set_default_plot_size(6inch, 3inch) | ||
|
||
plot(CSV.read(joinpath(dirname(@__DIR__), "data","issue120.csv")), x=:x1, y=:x2) | ||
dlm = readdlm(joinpath(dirname(@__DIR__), "data","issue120.csv"), ',') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or in this style (using header=true
)
dlm, varnames = readdlm( joinpath(...), ',', header=true)
which will simplify the next line (no convert needed for my dlm
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm working on a second PR which removes all Compat. no longer necessary now that we don't support 0.6. |
only one test used it, so i refactored to use DelimitedFiles in the standard library instead.