PyConfig: Hook support in openWNS

Registered by Daniel Bültmann

class MyPostProcessing:
    def __init__(self, WNS):
        self.WNS = WNS

    def __call__(self):
        print WNS.outputDir

WNS.onPostProcessing(MyPostProcessing(WNS))

You can also put that into a module.

import PostProcessing
WNS.onPostProcessing(PostProcessing.CreateProbePlots(WNS.outputDir, "graphDir"))

Blueprint information

Status:
Complete
Approver:
Daniel Bültmann
Priority:
Undefined
Drafter:
Marc Schinnenburg
Direction:
Needs approval
Assignee:
Marc Schinnenburg
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon publicrelease
Started by
Marc Schinnenburg
Completed by
Marc Schinnenburg

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.