Skip to content
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

Using constraint and hierarchy on GraphC: AttributeError: 'GraphC' object has no attribute 'is_multigraph' #79

Closed
tddschn opened this issue Jul 3, 2022 · 1 comment
Assignees
Labels
C / C++ C bindings related

Comments

@tddschn
Copy link
Member

tddschn commented Jul 3, 2022

Error was encountered when running eg.constraint and eg.hierarchy on an GraphC object representing the karate club dataset.

Info

OS: macOS Monterey 12.4, Intel

python: CPython 3.9.13

Python 3.9.13 (main, May 24 2022, 21:28:31) 
[Clang 13.1.6 (clang-1316.0.21.2)] on darwin

python-easygraph: 0.2a38

To reproduce the error, run

## Setup
git clone https://github.com/tddschn/easygraph-test.git
cd easygraph-test

# install pinned dependencies
# CPython >=3.9,<3.10 is required
poetry install # install poetry first: https://python-poetry.org/
# activate venv
poetry shell

## Run tests

poetry run pytest

Error when running the above tests

AttributeError: 'GraphC' object has no attribute 'is_multigraph'
@tddschn tddschn added the C / C++ C bindings related label Jul 3, 2022
@tddschn
Copy link
Member Author

tddschn commented Jul 3, 2022

Screenshot
CleanShot-2022-07-03T17-19-03@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C / C++ C bindings related
Projects
None yet
Development

No branches or pull requests

2 participants