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

Graph blobs for Code shows incorrect "label" #4063

Open
CasperWA opened this issue May 8, 2020 · 1 comment
Open

Graph blobs for Code shows incorrect "label" #4063

CasperWA opened this issue May 8, 2020 · 1 comment

Comments

@CasperWA
Copy link
Contributor

CasperWA commented May 8, 2020

Found out through @mbercx's online offline show-and-tell for the new basic tutorial.

When he created a new Code labelled add@<COMPUTER>, the Code showed up the subsequently generated graphs as bash@<COMPUTER>. This is confusing.

@giovannipizzi
Copy link
Member

Here is the line to fix:

sublabel = '{}@{}'.format(os.path.basename(node.get_execname()), node.get_computer_name())

In general, should we use node.get_description() that was designed exactly to provide a short textual description? And possibly adapt that method to return something we like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants