Skip to content
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

Merged
merged 1 commit into from
Nov 17, 2019
Merged

Conversation

bjarthur
Copy link
Member

  • I've run the regression tests

only one test used it, so i refactored to use DelimitedFiles in the standard library instead.

@codecov-io
Copy link

codecov-io commented Nov 17, 2019

Codecov Report

Merging #1351 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1806434...605a92b. Read the comment docs.

@@ -1,5 +1,7 @@
using Gadfly, DataFrames, Compat, CSV
using Gadfly, DataFrames, Compat, DelimitedFiles
Copy link
Member

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?


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"), ',')
Copy link
Member

@Mattriks Mattriks Nov 17, 2019

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)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore my deleted remark on #120, I realise now #120 was a test about precision.

@bjarthur
Copy link
Member Author

i'm working on a second PR which removes all Compat. no longer necessary now that we don't support 0.6.

@bjarthur bjarthur merged commit 4fa41cd into GiovineItalia:master Nov 17, 2019
@bjarthur bjarthur deleted the bja/nocsv branch November 17, 2019 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants