From: W. Trevor King Date: Fri, 7 Jan 2011 03:10:13 +0000 (-0500) Subject: Update docgen -> DocGen instantiantiation in bin/chem_db.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=660fb9fa6548563d9fd87ad43d3499299485673a;p=chemdb.git Update docgen -> DocGen instantiantiation in bin/chem_db.py. --- diff --git a/bin/chem_db.py b/bin/chem_db.py index 163fa5f..7dd05bd 100755 --- a/bin/chem_db.py +++ b/bin/chem_db.py @@ -181,7 +181,7 @@ if __name__ == '__main__': # read in and parse the file db._parse(ifile.read()) - dgen = docgen(db) + dgen = chemdb.chemdb.DocGen(db) def valid_record(r): return eval(options.valid_record, # expression {'__builtins__':None}, # globals @@ -198,7 +198,7 @@ if __name__ == '__main__': # read in and parse the file db._parse(ifile.read()) - dgen = docgen(db) + dgen = chemdb.chemdb.DocGen(db) def valid_record(r): return eval(options.valid_record, # expression {'__builtins__':None}, # globals