Skip to content

Commit

Permalink
Merge pull request #89 from Evizero/jc/docs_ci
Browse files Browse the repository at this point in the history
reset PYTHON env to get fresh pycall installation
  • Loading branch information
johnnychen94 committed Aug 2, 2021
2 parents 64bdbe0 + bdfaebb commit 3c62635
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
PYTHON: ""
steps:
- uses: actions/checkout@v2
- name: Cache artifacts
Expand Down
3 changes: 2 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ makedocs(
"Tutorials" => examples,
hide("Indices" => "indices.md"),
"LICENSE.md",
]
],
# doctest=:fix, # used to fix outdated doctest
)

operations_cb()
Expand Down
8 changes: 4 additions & 4 deletions src/operations/flip.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ Examples
julia> using Augmentor
julia> img = [200 150; 50 1]
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
200 150
50 1
julia> img_new = augment(img, FlipX())
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
150 200
1 50
```
Expand Down Expand Up @@ -122,12 +122,12 @@ Examples
julia> using Augmentor
julia> img = [200 150; 50 1]
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
200 150
50 1
julia> img_new = augment(img, FlipY())
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
50 1
200 150
```
Expand Down
12 changes: 6 additions & 6 deletions src/operations/rotation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Examples
julia> using Augmentor
julia> img = [200 150; 50 1]
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
200 150
50 1
julia> img_new = augment(img, Rotate90())
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
150 1
200 50
```
Expand Down Expand Up @@ -127,12 +127,12 @@ Examples
julia> using Augmentor
julia> img = [200 150; 50 1]
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
200 150
50 1
julia> img_new = augment(img, Rotate180())
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
1 50
150 200
```
Expand Down Expand Up @@ -198,12 +198,12 @@ Examples
julia> using Augmentor
julia> img = [200 150; 50 1]
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
200 150
50 1
julia> img_new = augment(img, Rotate270())
2×2 Array{Int64,2}:
2×2 Matrix{Int64}:
50 200
1 150
```
Expand Down

0 comments on commit 3c62635

Please sign in to comment.