Skip to content

Commit

Permalink
[RTR]: Update get_fmt_specimens method (#6)
Browse files Browse the repository at this point in the history
* Update get_fmt_specimens method

* Added git fetch origin and removed clone --depth 1
  • Loading branch information
Ben J. Ward authored Jul 20, 2017
1 parent ceb7c99 commit 72d6474
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Testing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@

module Testing

function get_bio_fmt_specimens(commit="3140ef6110bb309703ffde564ce705eeb80607d4")
function get_bio_fmt_specimens(commit="222f58c8ef3e3480f26515d99d3784b8cfcca046")
path = joinpath(dirname(dirname(@__FILE__)), "BioFmtSpecimens")
if !isdir(path)
run(`git clone --depth 1 https://github.com/BioJulia/BioFmtSpecimens.git $(path)`)
run(`git clone https://github.com/BioJulia/BioFmtSpecimens.git $(path)`)
end
cd(path) do
run(`git fetch origin`)
run(`git checkout $(commit)`)
end
return path
Expand Down

0 comments on commit 72d6474

Please sign in to comment.