-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update FablibManager.list_sites() #255
Conversation
When calling
Examples from Jupyter notebooks:
This PR will likely break one set of notebooks. We can probably make both of them work with what would be an ugly workaround hack, but it would be much better if we consistently pick one form and stick with it. That would entail some changes in example notebooks. I don't know if we will be breaking experimenters' notebooks. |
I'm not really sure what the problem is here. I don't see any notebooks that use pretty names for searching. I think everything should be non-pretty except when the table is printed. I think maybe that notebook called "filter.ipynb" is just leftover from development. If it is not linked in the start_here notebook, we can probably just delete it. |
Agree with Paul, we should use non_pretty_names for filtering. That's how I have seen it use. We can add more documentation to list_sites() function to make it more clear and also share the calls using which user can know the non-pretty names. |
Isn't pretty names the better/simpler UX? With pretty names, fablib users can use the names that appear on table headers. With non-pretty names, they are left to figure it out themselves, or look for more documentation. We should remove that friction. |
@sajith - can this be closed? |
@kthare10 It can be closed, but I also want to be clear that I do not agree with the consensus. :-) We should be making things easier for users. Being able to filter by the column titles would be easier for users. Having to figure out the special names corresponding to column titles is an extra unnecessary step. |
Resolves #238.