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

allow to delete nodes starting from code #3545

Closed
ltalirz opened this issue Nov 14, 2019 · 0 comments · Fixed by #3546
Closed

allow to delete nodes starting from code #3545

ltalirz opened this issue Nov 14, 2019 · 0 comments · Fixed by #3546

Comments

@ltalirz
Copy link
Member

ltalirz commented Nov 14, 2019

Currently, this is what happens when trying to delete a code that has associated calculations:

 $ verdi code delete 19
Error: cannot delete Node<19> because it has output links

$ verdi node delete 19
I will delete 4 nodes
Warning: YOU ARE ABOUT TO DELETE 4 NODES! THIS CANNOT BE UNDONE!
Shall I continue? [y/N]: y
Starting node deletion...
Nodes deleted from database, deleting fil

I suggest we add a --force option to verdi code delete that simply pipes through to verdi node delete.

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

Successfully merging a pull request may close this issue.

1 participant