Code Monkey home page Code Monkey logo

Comments (17)

ranjanan avatar ranjanan commented on September 10, 2024

Hi @rmarrotte, could you please paste the output of the following code on the Julia terminal:

Pkg.status("Circuitscape")

Also, is there a way you could share your input so I can check? Thank you.

from circuitscape.jl.

rmarrotte avatar rmarrotte commented on September 10, 2024

Pkg.status("Circuitscape")
Circuitscape 5.0.0+ master
https://www.dropbox.com/sh/jvqkt0zcwf0yll1/AAAd8YB9XZy59WIrG8rahle4a?dl=0

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

Thanks, @rmarrotte. According to logs, it seems to take a fewer pairs (86736) instead of the right number of pairs(268278). This seems to happen even as I disable the include_pairs option. Odd. I'll figure it out and let you know ASAP.

from circuitscape.jl.

rmarrotte avatar rmarrotte commented on September 10, 2024

Yes, @ranjanan I was wondering whether there was a maximum number of nodes or some kind of maximum resistance threshold or something. Also, I was thinking it could be that some nodes are very close to each other, but there isn't this pattern in the data at all.

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

No, I don't have either of those thresholds. I think I just made a mistake counting the number of pairs to solve. I'm investigating it right now.

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

@rmarrotte could you run the following commands at the Julia prompt:

Pkg.checkout("Circuitscape")
Pkg.checkout("Circuitscape", "pt_calc")

restart Julia and then see if you're getting the right answer? Just checking out a hunch.

from circuitscape.jl.

rmarrotte avatar rmarrotte commented on September 10, 2024

@ranjanan No update was available, same results.

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

@rmarrotte I'm sorry, by

No update was available

do you mean you weren't able to checkout the branch? Or were you able to check out the branch but it didn't fix the issue? Did you restart Julia before trying?

from circuitscape.jl.

rmarrotte avatar rmarrotte commented on September 10, 2024

@ranjanan It checked it out and found nothing new for both. Restarted Julia before I did this. Ran CS just in case, but nothing new.

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

Hi @rmarrotte I pushed one more commit to the same branch. Could you do Pkg.checkout("Circuitscape", "pt_calc") again and check please? Thanks.

from circuitscape.jl.

rmarrotte avatar rmarrotte commented on September 10, 2024

Nope, nothing new to update or install

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

Okay then. I'm sorry about this. I will run this privately and come up with a fix.

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

Hi Robby, I'm really sorry, but I'm having some trouble because your example has a really high number of pairs to solve which makes it hard to debug this. Is there a slightly smaller problem that you have where you can reproduce this behaviour?

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

@rmarrotte ^

from circuitscape.jl.

ViralBShah avatar ViralBShah commented on September 10, 2024

@ranjanan Can we run connected components on the input and see if we are doing that correctly?

from circuitscape.jl.

rmarrotte avatar rmarrotte commented on September 10, 2024

@ranjanan Not really. Do you think it crashed because of 1 specific pair? Like I indicated a while back, there are some pairs that are right on top of each other within the same pixel. I think CS has some way of dealing with this by setting the effective resistance to 0 or -700.

from circuitscape.jl.

ranjanan avatar ranjanan commented on September 10, 2024

@rmarrotte #167 also fixes this. Is there a smaller test you can run to confirm this?

from circuitscape.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.