You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I computed a dendrogram with 12k structures and saved it as a fits file. When trying to reload this dendrogram I ran into a RecursionError in collect(d) in io/util.py.
The system recursion limit (sys.getrecursionlimit()) on my machine is 3000 and raising the limit to 10000 works around the issue. Interestingly, this error does not occur for another dendrogram with 7600 structures that is also way beyond the limit.
It might be helpful and generally favourable to rewrite the problematic function to use iterations instead of recursions.
The text was updated successfully, but these errors were encountered:
I computed a dendrogram with 12k structures and saved it as a fits file. When trying to reload this dendrogram I ran into a RecursionError in
collect(d)
inio/util.py
.The system recursion limit (
sys.getrecursionlimit()
) on my machine is 3000 and raising the limit to 10000 works around the issue. Interestingly, this error does not occur for another dendrogram with 7600 structures that is also way beyond the limit.It might be helpful and generally favourable to rewrite the problematic function to use iterations instead of recursions.
The text was updated successfully, but these errors were encountered: