Opened 10 years ago

Last modified 8 years ago

#595 new enhancement

Allow background execution of GDE tools

Reported by: westram Owned by:
Priority: normal Milestone: wishlist
Component: GDE Version: SVN
Keywords: Cc:

Description (last modified by westram)

Allow adding "run in background" option to GDE GUI header.

If set

  • create tempdir including a FILE for communication between arb and subprocess. Store name of FILE together with current date in arb DB.
  • disconnect subprocess from arb_launcher (call like arb daemons). After subprocess has terminated, store success/failure information in FILE.
  • ARB_NT should watch such FILEs for updates (e.g. using inotify) - even after restarting DB. On change, ARB_NT shall report error or import results.

In lib/gde/*.menu split itemmethod into three phases:

  1. export/startup
  2. main
  3. import/shutdown

Phase 1. and 3. require running ARB, phase 2. should work w/o ARB. All phases get started by ARB.

Differences between aligners and treeing-tools:

  • treeing-tools already reimport the generated tree asynchronously
    • will work fine with background calculation
    • name issue (see #461) has to be solved
  • when calling an aligner, GDE currently waits for it to finish. It doesn't make sense to work with an alignment as long an aligner is working on it in the background, so background execution should be restricted to de-novo alignment (see also #343)

Change History (3)

comment:1 Changed 10 years ago by westram

  • Description modified (diff)

comment:2 Changed 8 years ago by westram

  • Description modified (diff)
  • Milestone set to wishlist2016

comment:3 Changed 8 years ago by westram

  • Milestone changed from wishlist2016 to wishlist

Milestone renamed

Note: See TracTickets for help on using tickets.