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

Edatool.tool_options.get() returns string "None" rather than NoneType #436

Open
shareefj opened this issue Jun 12, 2024 · 0 comments
Open

Comments

@shareefj
Copy link
Contributor

This falls into the camp of "I don't know why this is happening" and wanted clarification on whether we're doing something wrong.

We've got a custom flist backend that uses a combination of TOOL_OPTIONS and backendargs to pass options to the backend. We're calling self.tool_options.get("<custom_option>") inside of our Edatool class and get back "None" for the options that haven't been set.

See the following line for the code: https://github.com/NuQuantum/edalize-plugins/blob/master/src/edalize/tools/flist.py#L55

I've looked through the code in Edalizer.parse_args and can't work out why it's returning a string. Is it intentional or perhaps there's something wrong with our option config.

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

No branches or pull requests

1 participant