On clean remote data button and checks
Opened this issue · 0 comments
mikibonacci commented
Improvements to be implemented:
- We should check only once if the
CalcJobNode
are empty, not eveytime we load the page/workchain. Now, for eachCalcJobNode
, we check theis_empty
attribute. We need to verify that this is does not open ssh connections each time is it accesssed (see if it is aproperty
). If each time it connects to remote, we should instead store an extrais_empty
in the workchain, and then we only check if this attribute is not set. - The clean button remains red even if it is disabled. We should change the color (grey).
- We should somehow also estimate the size of the remote data, so the user can decide if delete or not. See this PR in aiida-core by @GeigerJ2 : aiidateam/aiida-core#6584
This is a follow-up of #815