monarch-initiative / medgen

MedGen ingest.
1 stars 0 forks source link

MedGen build error #23

Closed joeflack4 closed 7 months ago

joeflack4 commented 7 months ago

Overview

This is a new error following #18 being merged. I think what happened is that I ran the action successfully, made some changes, and then forgot to check if the action ran successfully again.

I think the problem has to do with the sssom-py version being different between my local environment and the action's.

Error information

ImportError: cannot import name 'MappingSetDataFrame' from 'sssom'

Log

joeflack4 commented 7 months ago

I thought I remembered Nico and me commenting on this. Nico suggested that the issue was that I needed to import from sssom.utils. I said that made sense, but I showed him __init__.py, which imports MappingSetDataFrame, so importing from sssom should also work. But I'll try the suggestion.

If that doesn't work, perhaps there's a difference between the sssom-py version in my local environment and the one in the GH action, even though the version in my pip freeze is the same as what's shown in requirements.txt.