Closed ammonite closed 3 years ago
Hi @ammonite is this happening when you run Pkg.test("Circuitscape")
?
Hi @vlandau thanks a lot.
Test Summary: | Pass Total Double Precision Tests | 662 662 Testing Circuitscape tests passed
and always get similar error like this by start() function ---- no some files or directories.
Can you please post the full output from the Julia terminal when you run start()
? This will help us to debug. Are you manually setting this filepath .julia/packages/Circuitscape/Qr6wW/test/input/network/mgNetworkVerify1.ini
as your input? This won't work for you since the filepaths in that INI are relative the this directory .julia/packages/Circuitscape/Qr6wW/test/
as opposed to you current active directory.
@ammonite if your tests pass, you may not be in the right directory while running that command. The following should work:
using Circuitscape
cd(joinpath(Base.pathof(Circuitscape), "..", "test"))
compute(joinpath("input", "network", "mgNetworkVerify1.ini")
Thank you very much.@vlandau, @ranjanan, it work, cd to correct directory.
Thank you for confirming @ammonite, I'll close this then.
Sorry. It is my first trying on Circuitscape: julia> compute(".julia/packages/Circuitscape/Qr6wW/test/input/network/mgNetworkVerify1.ini") ERROR: SystemError: opening file "output/mgNetworkVerify1.out": No such file or directory ...... [10] compute(path::String) @ Circuitscape ~/.julia/packages/Circuitscape/Qr6wW/src/run.jl:17
Julia 1.6.1 Thank you very much!