pybel / bel-repository

A utility for loading data from repositories of BEL documents
MIT License
1 stars 0 forks source link

Upgrade bel_repository to new version of pybel #8

Open djinnome opened 4 years ago

djinnome commented 4 years ago

Hi @cthoyt

When you get a chance, the current bel_repository expects to_web(), which hasn't been in pybel since 0.14.6

Sincerely,

Jeremy

~/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/bel_repository/repository.py in <module>
     17 
     18 import pybel
---> 19 from pybel import BELGraph, Manager, from_bel_script, to_indra_statements, to_web, union
     20 from pybel.cli import connection_option, host_option
     21 from pybel.constants import CITATION, CITATION_DB, CITATION_IDENTIFIER

ImportError: cannot import name 'to_web' from 'pybel' (/Users/zuck016/.pyenv/versions/anaconda3-2019.10/lib/python3.7/site-packages/pybel/__init__.py)
cthoyt commented 4 years ago

@ddomingof beat you to it with https://github.com/pybel/bel-repository/issues/7. Should already be taken care of!

try pip install --upgrade bel-repository and please close if this is the fixes it

ddomingof commented 4 years ago

I already checked this morning, it does

cthoyt commented 4 years ago

I mean @djinnome should close the issue if he is satisfied