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

Commandline arguments #16

Open
jmafoster1 opened this issue Aug 13, 2021 · 0 comments
Open

Commandline arguments #16

jmafoster1 opened this issue Aug 13, 2021 · 0 comments

Comments

@jmafoster1
Copy link
Contributor

Behave supports the passing of commandline arguments with -D variable=value. These can be pulled out from the context.config.userdata dictionary. This is quite handy for passing in things that we want to change in experiments, like the CSV file to use for observational data, the number of data points to sample, and the adjustment set. Currently, this is done in the environment.py file of each set of feature files. It would be much better if this was part of the "tool" so that it would work universally for everything rather than having to duplicate the code in every environment.py file.

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