-
Notifications
You must be signed in to change notification settings - Fork 192
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
GroupPath enhancements #3914
Comments
Sorry, one more question: I looked into #3613 and did not find any documentation being added. Just some basic info on the separator and how to use the group path cli would be helpful. |
No nothing yet 😬 this is a TODO in #3913 |
So, just to keep track of it in case we can come up with some solution, I would like to add here the issue of how groups that are incompatible with GroupPath are still partially shown by some methods and the way the code deals with them makes it, IMHO, a bit difficult for users to identify what the problem is (specially if we want to use this as the first and most intuitive way of handling groups, as @giovannipizzi suggested when discussing the tutorial). |
Some additional notes:
|
It would be good if you could give some concrete examples here that we can discuss around |
Indeed, @ramirezfranciscof could you report here the issues? |
Ok, the behavior I believe could be confusing is this:
|
Cheers, and what would you like to see the behaviour be here? |
Note you can disable warnings with |
In the context of using this as "the intuitive/introductory aproach to groups", I don't think it would be a good idea to ask the users to pass a I think warnings could be useful but for (1) notifying of possible inconvenients when creating a problematic group ("warning: this group will not be able to be accessed properly with the group paths tools, only with group list") and (2) giving clear information of the problem while warning of possible ommisions (when path lsing: "Warning: some groups could not be displayed with this tool, run with --show-unavail to see these or use group list to see them" / "Warning: the following groups cannot be listed in the group paths format"). Besides the warnings, I also believe the proper behavior for Anyways, this is just my opinion, perhaps nobody else thinks this behavior is confusing and it makes no sense worrying about this right now. I just thought this should be considered given the intended use for this feature. |
Oh yes it should definitely be considered, and I'm sure there are some improvements we can make here 😄 |
One more thing - I think we should add a command to show the nodes in a group path (essentially an alias or a modified version of Anyway, I feel the ultimate benefit from GroupPaths will come when fixing giovannipizzi/aiida-node-shell#5 and then providing the functionality to users |
As discussed, CLI improvements to open in a separate "enhancements" issue, when this PR is merged:
--depth
CLI option to work with--recursive
type_string
Originally posted by @chrisjsewell in #3613 (comment)
The text was updated successfully, but these errors were encountered: