Closed emdann closed 3 weeks ago
Hey @emdann,
This stems from the necessity of .update()
— and the fact that by default, the columns are copied from individual modalities.
We might change this behaviour in v0.3
so that the columns are not copied automatically.
Currently what's expected is that the columns should be the same after running .copy()
after .update()
.
This should be fixed by the new API in v0.3 (.update(pull=False)
), which will become the default one in the next versions.
Hi there, not sure whether this is really a bug, but if I make certain changes to a
MuData.obs
(e.g. removing duplicate columns), theobs
in the copy becomes different from the original.Example
I understand this comes from the
copy
method re-initializing the MuData object, but it leads to breaking code where an exact copy is expected.System