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

Hide computers and codes from the list, change the code naming method #118

Closed
aiida-bot opened this issue Nov 6, 2014 · 1 comment
Closed

Comments

@aiida-bot
Copy link

Originally reported by: Giovanni Pizzi (Bitbucket: pizzi, GitHub: giovannipizzi)


Option to hide a computer from the list of computers (verdi computer hide?), same for codes. Maybe hide also all codes of a hidden computer. Maybe also hide codes that do not belong to us, and add a -A option to see them all. Add an option (-a?) to see all codes, even hidden.

Question: where to store the "hidden" property? Probably an updatable attribute, like in calculation:

        self._updatable_attributes = ('hidden')

(actually, also fix the self._updatable_attributes in calculation: should extend the baseclass _updatable_attributes, not overwrite it!)

Also: maybe reference always codes as codename@machinename? So one does not need to define the code name including the machine name!!


@aiida-bot
Copy link
Author

Original comment by Andrea Cepellotti (Bitbucket: acepellotti, GitHub: cepellotti):


Stored an optional updatable attribute "hidden".
Codes listed are codename@computer.
No hidden attribute for computers, I will use the disabled status.

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

No branches or pull requests

1 participant