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
In line 103, we simply disbar folks from passing a spatial weights matrix, even if it's API-compatible and can be used in the function. This means that, for instance, we can't pass a weights matrix from libpysal into pysal.esda.geary.Geary, since (post-conversion) this will demand weights from pysal itself. This happens in reverse for weights from pysal being sent to esda.geary.Geary.
I understand the interest in giving user-friendly errors in case they pass the wrong things to the wrong arguments, but I think that more ducktyping would help our library be quite a bit more flexible without demanding users either keep to the sub- or meta-packages.
The text was updated successfully, but these errors were encountered:
In line 103, we simply disbar folks from passing a spatial weights matrix, even if it's API-compatible and can be used in the function. This means that, for instance, we can't pass a weights matrix from
libpysal
intopysal.esda.geary.Geary
, since (post-conversion) this will demand weights frompysal
itself. This happens in reverse for weights frompysal
being sent toesda.geary.Geary
.I understand the interest in giving user-friendly errors in case they pass the wrong things to the wrong arguments, but I think that more ducktyping would help our library be quite a bit more flexible without demanding users either keep to the sub- or meta-packages.
The text was updated successfully, but these errors were encountered: