From 85ec82eaa499d8141ff29371880f29c9d53d5f3b Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Sun, 29 Dec 2019 13:22:47 -0600 Subject: [PATCH 1/2] Run CompatHelper once per day --- .github/workflows/CompatHelper.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 0243c70..3a0ed8f 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -2,7 +2,7 @@ name: CompatHelper on: schedule: - - cron: '00 * * * *' + - cron: '20 00 * * *' issues: types: [opened, reopened] From 29cb253a3fb7aa1d5895debc0e6764e22e69739c Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Sun, 29 Dec 2019 13:29:23 -0600 Subject: [PATCH 2/2] Use ImageCore for Colors&FixedPointNumbers dependency --- Project.toml | 8 ++------ src/ImageAxes.jl | 6 +++--- test/runtests.jl | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Project.toml b/Project.toml index 30c8a1d..6a3f6f5 100644 --- a/Project.toml +++ b/Project.toml @@ -1,11 +1,9 @@ name = "ImageAxes" uuid = "2803e5a7-5153-5ecf-9a86-9b4c37f5f5ac" -version = "0.6.1" +version = "0.6.2" [deps] AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9" -Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" -FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534" MappedArrays = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" @@ -13,9 +11,7 @@ SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d" [compat] AxisArrays = "0.3" -Colors = "0.9" -FixedPointNumbers = "0.5, 0.6" -ImageCore = "0.8" +ImageCore = "0.8.1" MappedArrays = "0.2" Reexport = "0.2" SimpleTraits = "0.8, 0.9" diff --git a/src/ImageAxes.jl b/src/ImageAxes.jl index c13b307..9c59811 100644 --- a/src/ImageAxes.jl +++ b/src/ImageAxes.jl @@ -1,7 +1,7 @@ module ImageAxes using Base: @pure, tail -using Reexport, Colors, SimpleTraits, MappedArrays +using Reexport, SimpleTraits, MappedArrays # maybe return to "@reexport AxisArrays" if AxisArrays is fixed @@ -202,7 +202,7 @@ be expensive or subject to restrictions. A canonical example would be an AVI stream, where addressing pixels within the same frame is fast but jumping between frames might be slow. -Here's a simple example of dividing by the mean of each slice of an image before returning values. +Here's a simple example of dividing by the mean of each slice of an image before returning values. A = AxisArrays.AxisArray(reshape(1:36, 3, 3, 4)) @@ -229,7 +229,7 @@ The user-provided `f!` function should take arguments: f!(buffer, slice) -Where `buffer` will be an empty array that can hold a slice of your series, and `slice` will hold the current input slice. +Where `buffer` will be an empty array that can hold a slice of your series, and `slice` will hold the current input slice. It's worth noting that `StreamingContainer` is *not* a subtype of `AbstractArray`, but that much of the array interface (`eltype`, diff --git a/test/runtests.jl b/test/runtests.jl index 5484c10..63e8efb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,4 +1,4 @@ -using Colors, FixedPointNumbers, MappedArrays, Test, ImageCore +using MappedArrays, Test, ImageCore import AxisArrays ambs = detect_ambiguities(ImageCore,AxisArrays,Base,Core)