Menu

BifPoints.py:219 : IndexError: list index out of range

Help
2016-08-15
2016-10-30
  • Maurizio De Pitta'

    Hi all,
    I believe I am hitting a bug. With some parameter choice, continuation of my model works fine. With some other choice, then EQ-C cannot complete and produces an IndexError on line 219 of BifPoints.py. Running a debugger, line 218 in the same routine produces an empty list, and it is not clear to me whether I should not have a empty a priori or there is a missing error check in the case in which the list W0 is empty...

    M

     

    Last edit: Maurizio De Pitta' 2016-08-15
  • Rob Clewley

    Rob Clewley - 2016-10-29

    Hi, if you email me your entire script I can see if I can understand what the issue is. Sounds like maybe there should be a catch on that condition with a more reasonable report to the user.

     
  • Maurizio De Pitta'

    Hi Rob,
    This was a while ago... but I believe that this is the infamous unresolved bug in the detection of BP points pointed out by Drew in this thread.

    I must say actually, that since you raise the issue, this bug currently prevented me from using PyDSTool and go back to XPPAUT after my last post, because indeed after trying to tweak with the tolerance as suggested by Drew, and trying to fool around a bit with the code, I miserably did not succeed. And yet (XPP)AUT in the bad (of the interface) and the good of native AUTO code, instead wins on this case. In conclusion, this is really a much needed fix.

    M

     

    Last edit: Maurizio De Pitta' 2016-10-30
  • Drew LaMar

    Drew LaMar - 2016-10-30

    Yes, my apologies for being absent on this one - other job commitments kept me away from PyCont development. I agree that this is an important bug to fix. I'll get on it and update the thread mentioned above. Sorry for the LONG delay!

     

Log in to post a comment.