Back to index

python-biopython  1.60
Public Member Functions | Public Attributes
xbb_blastbg.BlastWorker Class Reference

List of all members.

Public Member Functions

def __init__
def shutdown
def run

Public Attributes

 com
 queue
 finished

Detailed Description

Definition at line 62 of file xbb_blastbg.py.


Constructor & Destructor Documentation

def xbb_blastbg.BlastWorker.__init__ (   self,
  command 
)

Definition at line 64 of file xbb_blastbg.py.

00064 
00065     def __init__(self, command):
00066         self.com = command
00067         queue = Queue.Queue(0)
00068         self.queue = queue
00069         threading.Thread.__init__(self)
00070         self.finished = 0
00071         print dir(queue)
00072         print queue.queue


Member Function Documentation

Definition at line 78 of file xbb_blastbg.py.

00078 
00079     def run(self):
00080         print 'running', self.com
00081         os.system(self.com)
00082         self.finished = 1
00083 

Definition at line 73 of file xbb_blastbg.py.

00073 
00074     def shutdown(self):
00075         # GRRRR How do I explicitely kill a thread ???????
00076         #self.queue.put(None)
00077         del self.queue
        

Member Data Documentation

Definition at line 65 of file xbb_blastbg.py.

Definition at line 69 of file xbb_blastbg.py.

Definition at line 67 of file xbb_blastbg.py.


The documentation for this class was generated from the following file: