Project

General

Custom queries

Profile

Actions

Feature #736

closed

We need hooks rather than args

Added by Betoule Marc almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Low
Assigned To:
Category:
-
Start date:
06/08/2010
Due date:
% Done:

90%

Estimated time:
2.00 h

Description

Hooks could allow segment writers to code something like:

  • seg_libseg_code.py:
    hook("preproc")
    #some processing
    ...
    hook("postproc")
    
  • seg_libseg_preproc.py:
    #some preprocessing code
    ...
    
  • seg_libseg_preproc.py:
    #some postprocessing code
    ...
    

This would make to write generic libraries of segment quite easy, and replace and extend the current overload_param system.

Actions #1

Updated by Le Jeune Maude almost 15 years ago

The function repository.get_dependencies will have to be updated accordingly.

Actions #2

Updated by Le Jeune Maude almost 15 years ago

Function overload_param of worker will have to be removed.

Actions #3

Updated by Le Jeune Maude over 14 years ago

  • Assigned To changed from Betoule Marc to Le Jeune Maude
Actions #4

Updated by Le Jeune Maude over 14 years ago

  • % Done changed from 0 to 90
Actions #5

Updated by Le Jeune Maude over 14 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF