Skip to content

Commit

Permalink
clean up after name changel
Browse files Browse the repository at this point in the history
  • Loading branch information
mkborregaard committed Sep 28, 2016
1 parent 5f0ac60 commit 95cc813
Show file tree
Hide file tree
Showing 11 changed files with 549 additions and 2,458 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
*.DS_Store
.DS_Store
.DS_Store

.DS_Store
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ notifications:
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("MacroEcology"); Pkg.test("MacroEcology"; coverage=true)'
# - julia -e 'Pkg.clone(pwd()); Pkg.build("SpatialEcology"); Pkg.test("SpatialEcology"; coverage=true)'
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The MacroEcology.jl package is licensed under the MIT "Expat" License:
The SpatialEcology.jl package is licensed under the MIT "Expat" License:

> Copyright (c) 2016: Michael K. Borregaard.
>
Expand Down
3 changes: 2 additions & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ RecipesBase
NamedArrays
Shapefile
DataFrames
Bio
Reexport
#Bio
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo();
Pkg.clone(pwd(), \"MacroEcology\"); Pkg.build(\"MacroEcology\")"
Pkg.clone(pwd(), \"SpatialEcology\"); Pkg.build(\"SpatialEcology\")"

test_script:
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"MacroEcology\")"
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"SpatialEcology\")"

Large diffs are not rendered by default.

2,550 changes: 110 additions & 2,440 deletions doc/Testing SpatialEcology plotting.ipynb

Large diffs are not rendered by default.

Binary file added mamob.jld
Binary file not shown.
2 changes: 1 addition & 1 deletion scratch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mama = Assemblage(mam)
using JLD

jldopen("mamobj.jld", "w") do file
addrequire(file, MacroEcology)
addrequire(file, SpatialEcology)
write(file, "mam", mama)
end

Expand Down
12 changes: 7 additions & 5 deletions src/SpatialEcology.jl
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
__precompile__()
module SpatialEcology

using DataFrames
import Bio.Phylo
using NamedArrays
using Reexport
@reexport using DataFrames
@reexport using NamedArrays

#import Bio.Phylo
import RecipesBase
import Shapefile
import Base: getindex, setindex!, size, show, summary

include("DataTypes.jl")
include("Constructor_helperfunctions.jl")
include("Constructors.jl")
include("Commatrix_functions.jl")
include("Gettersandsetters.jl")
include("GetandSetdata.jl")
include("Gridfunctions.jl")
include("Subsetting.jl")
#include("PlotRecipes.jl")
Expand All @@ -21,6 +24,5 @@ export nspecies, nsites, occupancy, richness, records, sitenames, specnames
export setindex!, getindex, size, show, summary
export coords, subset!, subset, addshape!, deleteshape!
export xcells, ycells, cells, xmin, xmax, ymin, ymax, xrange, yrange, xcellsize, ycellsize, cellsize, boundingbox #it is possible that I will export none of these
#export DataFrames, NamedArrays

end # module
4 changes: 1 addition & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using MacroEcology
using SpatialEcology
using Base.Test

# write your own tests here
Expand All @@ -8,5 +8,3 @@ using Base.Test
function tes{T <: Union{Int, Bool}}(x::AbstractMatrix{T})
println("success")
end

tst = OccMatrix(zeros(Int, 2, 2))

0 comments on commit 95cc813

Please sign in to comment.