Skip to content

Commit

Permalink
Avoid direct dependency on MappedArrays (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 authored Oct 9, 2020
1 parent ea94690 commit daefde8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ version = "0.6.6"
[deps]
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9"
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
MappedArrays = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"

[compat]
AxisArrays = "0.3, 0.4"
ImageCore = "0.8.1"
MappedArrays = "0.2"
Reexport = "0.2"
SimpleTraits = "0.8, 0.9"
julia = "1"
Expand Down
3 changes: 2 additions & 1 deletion src/ImageAxes.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ImageAxes

using Base: @pure, tail
using Reexport, SimpleTraits, MappedArrays
using Reexport, SimpleTraits

# maybe return to "@reexport AxisArrays" if AxisArrays is fixed

Expand All @@ -10,6 +10,7 @@ using AxisArrays: AxisArray, Axis, axisnames, axisvalues, axisdim, atindex, atva
export AxisArray, Axis, axisnames, axisvalues, axisdim, atindex, atvalue, collapse

@reexport using ImageCore
using ImageCore.MappedArrays


export # types
Expand Down
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MappedArrays, Test, ImageCore
using Test, ImageCore
using ImageCore.MappedArrays
import AxisArrays

ambs = detect_ambiguities(ImageCore,AxisArrays,Base,Core)
Expand Down

0 comments on commit daefde8

Please # to comment.