-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get_bio_fmt_specimens improvements (#9)
* get_bio_fmt_specimens checks out the latest tag by default. * Add fresh option * Update docstring * Provide slightly more conveinience for bio_fmt_specimen selection Without breaking setups already extant in packages. * Added docstring * Update documentation
- Loading branch information
Ben J. Ward
committed
Feb 15, 2018
1 parent
9bf3acc
commit 913b25f
Showing
6 changed files
with
111 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ os: | |
- linux | ||
- osx | ||
julia: | ||
- 0.5 | ||
- 0.6 | ||
- nightly | ||
matrix: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
julia 0.5 | ||
Compat 0.17 | ||
julia 0.6 | ||
Automa 0.3 | ||
BufferedStreams |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
using Documenter, BioCore | ||
|
||
makedocs() | ||
makedocs( | ||
format = :html, | ||
sitename = "BioCore.jl", | ||
pages = [ | ||
"Home" => "index.md", | ||
"Using file format specimens" => "testing.md", | ||
"Contributing" => "contributing.md" | ||
], | ||
authors = "The BioJulia Organisation and other contributors." | ||
) | ||
|
||
deploydocs( | ||
deps = Deps.pip("mkdocs", "pygments", "mkdocs-material"), | ||
repo = "github.com/BioJulia/BioCore.jl.git", | ||
julia = "0.5", | ||
julia = "0.6", | ||
osname = "linux", | ||
latest = "master" | ||
target = "build", | ||
deps = nothing, | ||
make = nothing | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Using the BioJulia format specimen archive | ||
|
||
BioJulia maintains an archive of different file formats | ||
[here](https://github.com/BioJulia/BioFmtSpecimens). | ||
|
||
To use these file specimens when creating unit tests for a package, | ||
use the `bio_fmt_specimens` method to download / update the datasets, and return | ||
the paths of specimen files that match some conditions (specified using | ||
a function). | ||
|
||
```@doc | ||
bio_fmt_specimens | ||
``` | ||
|
||
Then you can iterate through the returned paths and use them with whatever IO | ||
methods you like. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters