fiji-hpc / parallel-macro

12 stars 1 forks source link

communication with server: deleting not yet started job leaves the job on the server #9

Closed xulman closed 2 years ago

xulman commented 2 years ago

deleting job that is still queued ends with happy deleting on the client but the PBS has the job still scheduled....

xulman commented 2 years ago

okay... one must first "cancel" and only then "delete works".... WARN THEN AT LEAST!

xulman commented 2 years ago

deleting job is NOT deleting files on the server

velissarious commented 2 years ago

Yes, this is a bug with the delete context menu item not being disabled when the job is in a state other than running. It should also be disabled when queued etc. This bug was located in hpc-workflow-manager-client.

This has now been fixed. The fix will be included in the next release. Now, to delete a job the job must be done one way or another. The user can cancel the job to delete it earlier.

Deleting jobs is not deleting files on the remote side on purpose as uploading huge data sets and deleting them with the job would be inefficient. Deletion is only local.