Circuitscape / Circuitscape.jl

Algorithms from circuit theory to predict connectivity in heterogeneous landscapes
https://circuitscape.org
MIT License
128 stars 35 forks source link

Warn() deprecated #171

Closed rachelluethi closed 5 years ago

rachelluethi commented 5 years ago

When running simulations with Circuitscape 5.4.0 with Julia 1.0.1 it didn't recognize warn() in io.jl. I found out that from Julia v0.7.0 (https://docs.julialang.org/en/v0.7.0/NEWS/) warn() is deprecated and should be replaced by @warn(). By replacing warn() with @warn() in Lines 152-162 (at the current version: L176-186) the simulations run properly.

ViralBShah commented 5 years ago

@rachelluethi would you be comfortable with making a pull request to fix this?

ViralBShah commented 5 years ago

@ranjanan Close?

ranjanan commented 5 years ago

Fixed via e3c398897ea86303ee02a992602dde590bda1509