legumeinfo / Funnotate

Functional annotation of FASTA sequences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update job status while running

svengato opened this issue · comments

Solved locally by wrapping the job in a promises::future_promise() (from promises 1.2.0). However, on dev-legfedorg (running R 3.5.2 and earlier packages like promises 1.0.1) this does not exist. Using future::future() instead seems to work, though this is described as "leaky".

Suggestion: add a Cancel Annotation button (while the job is running), as in the Drupal version.

First cut at implementation - commit 5bb6372. Keeping open in case any problems come up.

Cleaned up in commit 64ddb53.