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
Now v2 is not a view anymore, but the awkward array still has the same parameters (and target-137048116381552 is a weakref to an object that does not exist anymore)
Please make sure these conditions are met
Report
Saving a view of anndata turns it into a copy. However, the "view" attributes of an awkward array do not get removed on save, which leads to some side effects described in these discourse posts:
https://discourse.scverse.org/t/notimplementederror-cannot-create-a-view-of-an-awkward-array-with-array-parameter/3305
https://discourse.scverse.org/t/ir-tl-chain-qc-adata-error-message-with-scirpy-0-18-0/3304/4
Code:
This awkward array now has the "_view_args" added as intended:
Now
v2
is not a view anymore, but the awkward array still has the same parameters (andtarget-137048116381552
is a weakref to an object that does not exist anymore)Possible fix:
On save, send the awkward array through
ak.without_parameters()
.Versions
The text was updated successfully, but these errors were encountered: