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

Division error in TopologyManager #103

Open
sajith opened this issue Oct 20, 2022 · 0 comments
Open

Division error in TopologyManager #103

sajith opened this issue Oct 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working ci/cd

Comments

@sajith
Copy link
Member

sajith commented Oct 20, 2022

The line below will raise an error ("TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'") when link.residual_bandwidth is None:

https://github.com/atlanticwave-sdx/datamodel/blob/3a83c58fb81ca8af496d9946297544727399ea45/sdxdatamodel/topologymanager/manager.py#L215

@sajith sajith added bug Something isn't working ci/cd labels Oct 20, 2022
@sajith sajith self-assigned this Oct 20, 2022
@sajith sajith linked a pull request Mar 22, 2023 that will close this issue
@sajith sajith transferred this issue from atlanticwave-sdx/datamodel Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci/cd
Projects
Development

No branches or pull requests

1 participant