Skip to content

Conversation

@tonoplast
Copy link

There are many parameter inputs. Presumably one would create a 'config' file, and if the config file has something like: cfg = {mcp : 'maxstat'}

and when you use in code, it does not work because 'is' is not the same as '==' . cfg.get('mcp') will show 'maxstat' but mcp = cfg.get('mcp') will throw an error since it is not comparing the string.

There are many parameter inputs. Presumably one would create a 'config' file, and if the config file has something like:
`cfg = {mcp : 'maxstat'}`

and when you use in code, it does not work because 'is' is not the same as '==' .
`cfg.get('mcp')` will show 'maxstat' but `mcp = cfg.get('mcp')` will throw an error since it is not comparing the string.
There are many parameter inputs. Presumably one would create a 'config' file, and if the config file has something like:
`cfg = {mcp : 'maxstat'}`

and when you use in code, it does not work because 'is' is not the same as '==' .
`cfg.get('mcp')` will show 'maxstat' but `mcp = cfg.get('mcp')` will throw an error since it is not comparing the string.
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

Successfully merging this pull request may close these issues.

1 participant