Skip to content

Update Indra import statements to latest version #16

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djinnome
Copy link

@djinnome djinnome commented May 30, 2020

It turns out that

from indra.assemblers.english_assembler import EnglishAssembler
from indra.sources.bel.bel_api import process_pybel_graph

are no longer the right way to import EnglishAssembler and process_pybel_graph in the latest version of indra. Instead, this will work:

from indra.assemblers.english import EnglishAssembler
from indra.sources.bel.api import process_pybel_graph

It turns out that 
```python
from indra.assemblers.english_assembler import EnglishAssembler
from indra.sources.bel.bel_api import process_pybel_graph
```
are no longer the right way to import in the latest version of indra.  Instead, this will work:

```python
from indra.assemblers.english import EnglishAssembler
from indra.sources.bel.api import process_pybel_graph
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant