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

reset_experiments documention #90

Closed
schnorr opened this issue Mar 12, 2023 · 0 comments · Fixed by #106
Closed

reset_experiments documention #90

schnorr opened this issue Mar 12, 2023 · 0 comments · Fixed by #106
Assignees

Comments

@schnorr
Copy link

schnorr commented Mar 12, 2023

Hi, the reset_experiments documentation mention states as parameter, which is in disagreement with the general usage documentation that uses the status parameter. After installing pyexperimenter using the pip command, and attempting to replay the commands, it seems that neither status or states are accepted as parameter, I keep getting a got an unexpected keyword argument exception. The current source code indicates states, in disagreement with the documentation. It only works when providing the argument without the parameter name.

This is probably related to the usage o *states, especifically the *, requiring it to be a positional argument instead of a keyword argument. So, if you preceed states by *, then you can't use it as a named argument as instructed in the documentation. More about this in the Python documentation.

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