My .auto file generates a branch of solutions for a PDE (similar to the bru demo) problem. I then load it with a python script (bd = auto.loadbd('branch1')), and for each label extract the corresponding solution, which is used to calculate the eigenvalues of the system (stability detection does not work for pdes).
The following code throws an AssertionError exception (Coordinate names must be unique):
bd = auto.loadbd('branch1')
labels = bd.getLabels()
for label in labels:
a = bd(label)['PAR(1)']
One of the weird things is that if I run the commands from ipython, the first time I try I get the same error. Subsequent calls work fine. After trying to find the source of the error I tried to be sneaky and tried to catch the error, figuring that after the first call the code would run. It did work when loading only parameters, but if I try to load a list, say bd['PERIOD'], I get a RuntimeError about max recursion depth having been reached.
Any ideas or help would be greatly appreciated.
Log in to post a comment.