-
Notifications
You must be signed in to change notification settings - Fork 0
axtract.py completely changed #5
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
Conversation
lsarra-ax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Tymek, there are a few issues with dependencies. hypernetx can be added manually as a dependency in the plyground, printing function from ax_core.utils should probably be added as an extra module (or copied and pasted here)
src/axiomatic/axtract.py
Outdated
| import hypernetx as hnx | ||
| import matplotlib.pyplot as plt | ||
| import re | ||
| from ax_core.utils import printing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You cannot import from ax_core @tymekaxai
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
src/axiomatic/axtract.py
Outdated
| from IPython.display import display # type: ignore | ||
| from IPython.display import display, Math # type: ignore | ||
| from dataclasses import dataclass, field | ||
| import hypernetx as hnx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dependency becomes a requirement of the axiomatic package (or we require the user to install it manually with # type: ignore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hypernetx should be included in my opinion, if not i will add a cell with pip installation
|
@tymekaxai please describe what this actually does in the title |
|
ok next time I will be more careful about that |
new features in extract.py to serve extract cookbook