00001 import Base, Tags 00002 00003 DefaultFile="pathways.dat" 00004 00005 class Record(Base.Record): 00006 ParentFields = [Tags.ReacList] 00007 ChildFields = [Tags.SuPath] 00008 RecordClass="Pathway" 00009 00010 00011 class DB(Base.DB): 00012 def __init__(self,path=Base.DefaultPath,**kwargs): 00013 Base.DB.__init__( 00014 self, 00015 path=path, 00016 file=DefaultFile, 00017 RecClass=Record, 00018 **kwargs 00019 )