Package pylal :: Module fu_dosomething
[hide private]
[frames] | no frames]

Source Code for Module pylal.fu_dosomething

 1  from pylal.fu_utils import * 
 2   
 3  ############################################################################## 
 4  # Examples of follow up functions 
 5  ############################################################################## 
6 -def dosomething(trig):
7 # all functions should first initialize their HTML container 8 # in the following way this sets up the appropriate output 9 # files and directories 10 container = HTMLcontainer(trig,__prog__) 11 container.txt = "your favorite module output" 12 linkFile = open(container.locallink,'w') 13 writeIULHeader(linkFile) 14 linkFile.write("<b>Put your cool stuff here<b>") 15 linkFile.close() 16 # Your function body should go here and it should interface with 17 # the container class to determine where output goes 18 # at the end make sure and return the container 19 return container
20