-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels