Explicitly delete cryst_data object after algorithm completion

This commit is contained in:
2025-07-14 19:09:52 +02:00
parent 8ffad86f9a
commit c09bdc5b4e

View File

@@ -50,6 +50,7 @@ def calc_streakfinder_analysis(results, data, pf_pixel_mask):
_calc_streakfinder_analysis(results, cryst_data)
except Exception as error: # Broad exception - we don't want to break anything here
results["cbd_error"] = f"Error processing CBD data:\n{error}"
del cryst_data
return data