added resolution parameter and take first paramter as the input DB file
This commit is contained in:
parent
3070b9de69
commit
5bb994cfad
@ -1,12 +1,14 @@
|
||||
import sys
|
||||
import sqlite3
|
||||
import numpy as np
|
||||
|
||||
con = sqlite3.connect('data.db')
|
||||
con = sqlite3.connect(sys.argv[1])
|
||||
cur = con.cursor()
|
||||
|
||||
|
||||
orders = np.array(cur.execute('select distinct ord from results').fetchall())[:,0]
|
||||
eps = np.array(cur.execute('select distinct ep from results').fetchall())[:,0]
|
||||
res = np.array(cur.execute('select distinct res from results').fetchall())[:,0]
|
||||
print "#", orders, eps
|
||||
|
||||
with open('time.out', 'w') as time_file:
|
||||
|
Loading…
Reference in New Issue
Block a user