ctreffe / alfred

Alfred - A library for rapid experiment development
MIT License
10 stars 1 forks source link

Documentation Error - NumberEntry element, wrong parameter name #159

Closed jobrachem closed 2 years ago

jobrachem commented 2 years ago

Discussed in https://github.com/ctreffe/alfred/discussions/158

Originally posted by **Adsecularis** November 21, 2021 I hope the title makes sense. What I want to say is that I noticed an error in the [documentation for the NumberEntry element](https://alfredo3.psych.bio.uni-goettingen.de/docs/generated/alfred3.element.input.NumberEntry.html). The first parameter listed is: "**decimals** – Accepted number of decimals (0 as default)." but that gave me an error: TypeError: __init__() got an unexpected keyword argument 'decimals' The solution was given to me by the autocomplete of PyCharm, namely that the parameter is now called: **ndecimals** Also I am using Alfred 2.3.1 so I think it is reasonable to assume that the documentation is outdated and not my version of Alfred.