From a56ba85e7dc5f434f64e07f025580b652c58af83 Mon Sep 17 00:00:00 2001 From: jbeckwith Date: Wed, 14 Aug 2024 13:04:54 +0100 Subject: [PATCH] Improved Memory Leakage --- src/DAB_Analysis_Functions.py | 7 +++++++ .../DAB_Analysis_Functions.cpython-310.pyc | Bin 24623 -> 24694 bytes 2 files changed, 7 insertions(+) diff --git a/src/DAB_Analysis_Functions.py b/src/DAB_Analysis_Functions.py index c8a064a..b5c4817 100644 --- a/src/DAB_Analysis_Functions.py +++ b/src/DAB_Analysis_Functions.py @@ -913,6 +913,13 @@ def analyse_DAB_and_cells( props_nuclei["axis_major_length"], props_nuclei["axis_minor_length"] ) ) + + table_nuclei = table_nuclei.with_columns( + filename=np.full_like( + table_nuclei["axis_minor_length"], filename, dtype="object" + ) + ) + return ( image_mask_asyn, table_asyn, diff --git a/src/__pycache__/DAB_Analysis_Functions.cpython-310.pyc b/src/__pycache__/DAB_Analysis_Functions.cpython-310.pyc index b2e94b963be9136a50fd717f4504b2128d450f19..120be4ecf9b073a6aa8d88eb3e9da9e0a2dfac0b 100644 GIT binary patch delta 2678 zcmah~TWlOx8J;tHU*FcQ6Wi-}ckS4_JGQfqFL9D46vuJwNKiLzlQ+zmRckSI7 z`^;<|n^|lW-~q52^@xJ#g*8P&L6zDvd8h;r7PLaDXru~(#8Aou55QBQD3xfD;Qwch z?S@L&ns5Hw`Obg7bLQ-;+vKBdQlr(>1O@o}=C^)!qy6=o-}$5g@T%cC3y(hT6$Dc# z3nnqeEwL1&q*P@F$AsIinFCgx|C-2`gC|K8aFD+r^rmA*uv~A{nDw{F7J)J{^IWOj zaF-j*db7Pn*dnD4s5oRsj5dQTh-KG*D#c5QQnDnKTA{`GEka$3?%N{!*oc&) zG-1YR5}Jr@3FhG@0cPoT;u6HWcjBE+yvK}}+i8Q@4K;DJ2WXGkgU$|7@&TgW9irqO z5sy|!Cd~l#FN)B?52=er@*Sm=nJOQqy<3E!>Ye+A12MYHE;I3zxCP=&i>1EOQ6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