Update docgen -> DocGen instantiantiation in bin/chem_db.py.
authorW. Trevor King <wking@drexel.edu>
Fri, 7 Jan 2011 03:10:13 +0000 (22:10 -0500)
committerW. Trevor King <wking@drexel.edu>
Fri, 7 Jan 2011 03:10:13 +0000 (22:10 -0500)
bin/chem_db.py

index 163fa5f3366a8e4b0e501207fb71026e5da7ebfa..7dd05bd8356b1f236a0b6d9fed230d48b4e54926 100755 (executable)
@@ -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