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

fix keyboard agent str concatenation error #46

Merged
merged 1 commit into from
May 26, 2023

Conversation

RiccardoGTolli
Copy link

@RiccardoGTolli RiccardoGTolli commented May 18, 2023

when using the notebook keyboard agent tutorial in the repo, there is an error (TypeError: can only concatenate str (not "Node") to str) with the get_move_set method of the class KeyboardAgent, at line 60 (in yawning_titan/agents/keyboard.py) ; it seems like it s trying to concatenate a network_interface.current_graph.get_nodes() object to a string into the node_list list, this change should fix it

when using the notebook keyboard agent tutorial in the repo, there is an error with the get_move_set method of the class KeyboardAgent, at line 60 (in yawning_titan/agents/keyboard.py) ; it seems like it s trying to concatenate a network_interface.current_graph.get_nodes() object to a string
into the node_list list, this change should fix it
@ChrisMcCarthyDev ChrisMcCarthyDev self-requested a review May 24, 2023 15:51
@ChrisMcCarthyDev ChrisMcCarthyDev self-assigned this May 24, 2023
@ChrisMcCarthyDev ChrisMcCarthyDev added the bug Something isn't working label May 24, 2023
@RiccardoGTolli
Copy link
Author

I dont know what this checks stuff is and why they are failing. The fix is minimal and everything works as I am using it on my end.

@ChrisMcCarthyDev
Copy link
Contributor

Hi @RiccardoGTolli. Thanks for raising this PR. The build pipeline is failing due to recent changes with pip and setuptools. When we release v2.0.0 these build errors will disappear. Happy for this PR to just be merged in now. This will remain on the dev branch until the official release of v2.0.0.

@ChrisMcCarthyDev ChrisMcCarthyDev merged commit 1273cde into dstl:dev May 26, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants