A simple command-line program that reads an SBML file and prints some statistics about it.
49 """Usage: readSBML filename 53 print(
"Usage: readSBML filename")
57 current = time.clock()
60 errors = document.getNumErrors()
63 print(
" filename: " + filename)
64 print(
" file size: " + str(os.stat(filename).st_size))
65 print(
" read time (ms): " + str(time.clock() - current))
66 print(
" validation error(s): " + str(errors))
68 document.printErrors()
73 if __name__ ==
'__main__':