Open gmduvvuri opened 2 months ago
Weird, fascinating. There's a slight possibility this is related to some of the weird @property
s that I set up, or some weird type management in __getattr__
, or something else, but I need to look a little more closely to see.
Finally got around to this extra little test but the metadata dictionary preserves the original array so the differences between metadata + similarities between wavelike/timelike should help hunt this down (I will not be doing this anytime soon, going to plough ahead with this workaround for now, sorry).
For reasons I can probably get around with some work, I have been saving some wavelike and timelike masks as booleans so I can flip True/False within certain functions. What I ran into after copying a rainbow is that those boolean masks changed to integer 0/1 values and I can't find what deepcopy step is behind it. This problem occurs with Python
bool
andnp.bool_
. Niche but an unexpected behavior for an important function that it would be nice to figure out.