apriha / snps

tools for reading, writing, merging, and remapping SNPs
BSD 3-Clause "New" or "Revised" License
100 stars 19 forks source link

Use tab as default separator #85

Closed apriha closed 4 years ago

apriha commented 4 years ago

Changes behavior of save_snps so that the default separator is \t (tab) and file extension is .txt.

If , is used as a separator (via sep="," kwarg to save_snps), the default file extension is .csv.

codecov-commenter commented 4 years ago

Codecov Report

Merging #85 into develop will increase coverage by 1.86%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #85      +/-   ##
===========================================
+ Coverage    91.31%   93.17%   +1.86%     
===========================================
  Files            9        9              
  Lines         1312     1319       +7     
  Branches       244      247       +3     
===========================================
+ Hits          1198     1229      +31     
+ Misses          70       47      -23     
+ Partials        44       43       -1     
Impacted Files Coverage Δ
src/snps/io/writer.py 86.23% <100.00%> (+0.38%) :arrow_up:
src/snps/snps.py 93.08% <100.00%> (+1.48%) :arrow_up:
src/snps/snps_collection.py 95.72% <100.00%> (+3.55%) :arrow_up:
src/snps/resources.py 94.73% <0.00%> (+0.40%) :arrow_up:
src/snps/ensembl.py 65.85% <0.00%> (+34.14%) :arrow_up:

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 c1eb865...3d719b0. Read the comment docs.