-
Notifications
You must be signed in to change notification settings - Fork 29
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
New sssom==0.3.42 breaks oaklib #664
Comments
@rly thanks a ton. This should not ever happen, I am not sure how I missed this but somehow I must have allowed a PR in sssom-py through that removes a method (which I would not do usually if I had my full mental capacity). @hrshdhgd can you re-introduce that method in SSSOM, formally |
@hrshdhgd I will take care of it |
Alternatively, ontology-access-kit/src/oaklib/utilities/lexical/lexical_indexer.py Lines 313 to 325 in 75940bf
|
We yanked the 0.3.42 release, these breaking changes will get put into a 0.4.0 series and OAK will be updated to use the new code in #666 |
Thanks for the update! |
Closes #439 This PR adds three methods to the `MappingSetDataFrame` class that allow instantiation from LinkML objects such as `MappingSetDocument`, `MappingSet`, or a list of `Mapping`. It has the benefit of pre-baking in logic for dealing with default metadata and converters, meaning that nobody has to roll this themselves downstream This is going to help us address https://github.com/INCATools/ontology-access-kit/blob/75940bfa883001afb0e4aebb339fd62583c13844/src/oaklib/utilities/lexical/lexical_indexer.py#L313-L325, specifically in INCATools/ontology-access-kit#664
sssom==0.3.42
was released a few hours ago but breaks importing of oaklib.In a clean python 3.11 environment on Mac M1:
In mapping-commons/sssom-py#421 it looks like
get_default_metadata
was removed fromsssom/src/sssom/context.py
but this function is used inoaklib/src/oaklib/utilities/lexical/lexical_indexer.py
It looks like
oaklib
should use instead:I think either
oaklib
should be updated with the above, orsssom
should be updated to maintain the oldget_default_metadata
function while it is being deprecated.The text was updated successfully, but these errors were encountered: