|
|
5ad5e92 |
--- libSBML-5.18.0-Source/examples/python/readSBML.py~ 2018-04-24 10:35:07.000000000 +0200
|
|
|
5ad5e92 |
+++ libSBML-5.18.0-Source/examples/python/readSBML.py 2019-06-18 12:09:58.564685207 +0200
|
|
|
5ad5e92 |
@@ -54,7 +54,7 @@
|
|
|
5ad5e92 |
return 1
|
|
|
5ad5e92 |
|
|
|
5ad5e92 |
filename = args[1]
|
|
|
5ad5e92 |
- current = time.clock()
|
|
|
5ad5e92 |
+ current = time.process_time()
|
|
|
5ad5e92 |
document = readSBML(filename)
|
|
|
5ad5e92 |
|
|
|
5ad5e92 |
errors = document.getNumErrors()
|
|
|
5ad5e92 |
@@ -62,7 +62,7 @@
|
|
|
5ad5e92 |
print()
|
|
|
5ad5e92 |
print(" filename: " + filename)
|
|
|
5ad5e92 |
print(" file size: " + str(os.stat(filename).st_size))
|
|
|
5ad5e92 |
- print(" read time (ms): " + str(time.clock() - current))
|
|
|
5ad5e92 |
+ print(" read time (ms): " + str(time.process_time() - current))
|
|
|
5ad5e92 |
print(" validation error(s): " + str(errors))
|
|
|
5ad5e92 |
print()
|
|
|
5ad5e92 |
document.printErrors()
|