Skip to content

Commit

Permalink
Merge pull request #23 from Cervest/feature/sc-42001/bump-richdem.jl
Browse files Browse the repository at this point in the history
feature/sc 42001/bump richdem.jl
  • Loading branch information
sunayana authored Mar 15, 2023
2 parents 101bbb0 + 50860ea commit 207eaf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion wrappers/RichDEM.jl/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RichDEM"
uuid = "94a1c18c-0d95-461b-994e-5c3447d2ff66"
authors = ["Sunayana Ghosh <sunayana@cervest.earth>", "Tim DuBois <tim@cervest.earth>"]
version = "0.1.1"
version = "0.1.2"

[deps]
CxxWrap = "1f15a43c-97ca-5a2a-ae31-89f07a497df4"
Expand Down
2 changes: 0 additions & 2 deletions wrappers/RichDEM.jl/src/RichDEM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ mutable struct Depression{T}
total_elevation::Float64
end

expand_struct(sub) = map(n -> getfield(sub, n), fieldnames(typeof(sub)))

function Depression(dep::CxxDepression{T}) where {T}
Depression{T}(pit_cell(dep), out_cell(dep), parent(dep), odep(dep), geolink(dep), pit_elev(dep),
out_elev(dep), lchild(dep), rchild(dep), ocean_parent(dep), ocean_linked(dep), dep_label(dep),
Expand Down
4 changes: 2 additions & 2 deletions wrappers/pyrichdem/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ def build_extensions(self):
keywords = 'GIS terrain hydrology geomorphology raster',
#packages = find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires = [
"numpy>=1.7,<2; python_version > '3.4' or python_version < '3.0'",
"numpy>=1.7,<1.12; python_version < '3.4' and python_version > '3.0'"
"numpy>=1.22,<2; python_version > '3.4' or python_version < '3.0'",
"numpy>=1.22,<1.12; python_version < '3.4' and python_version > '3.0'"
],
# extras_require = {
# ':python_version > "3.4"': [
Expand Down

0 comments on commit 207eaf6

Please sign in to comment.