-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix dim lengths created from coords
or ConstantData
#5751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Let's remember to add #5181 as a test |
Hi guys just been looking at how this can be implemented. Can I check my understanding first... So this line:
Is causing the problem due to the
|
@LukeLB yes, that's the idea |
@LukeLB Did you want to take a shot at fixing this, and if so when were you planning on doing so? I ask as this is holding up the Bambi migration to V4 so we want to get fixed soon here! |
@canyon289 I've got time today so I'll have a crack at it. |
Sounds great! Looking forward to the PR and thank you. Let us know if you need any help. |
@canyon289 just put in a WIP-PR as I'm heading out and was having some problems with locally failing tests. |
In this comment we proposed to make dimensions created from
coords
non-resizeable, because it would prevent users from running into issues like #5181.What needs to be done
In
pymc/pymc/model.py
Lines 1070 to 1076 in dd23c90
set_coord
method could take another kwargresizable: bool=False
orfixed: bool=True
.Then we can actively turn off re-sizing of dimensions that are created from
ConstantData
orcoords
.The text was updated successfully, but these errors were encountered: