mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
added max-threads key in config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
ec9bac7830
commit
adbc749c47
@ -1,4 +1,5 @@
|
||||
{
|
||||
"max-threads": 8,
|
||||
"team": "",
|
||||
"competition": "2020ilch",
|
||||
"key":{
|
||||
|
@ -232,8 +232,6 @@ def load_match(apikey, competition):
|
||||
|
||||
def matchloop(apikey, competition, data, tests): # expects 3D array with [Team][Variable][Match]
|
||||
|
||||
start = time.time()
|
||||
|
||||
global exec_threads
|
||||
|
||||
def simplestats(data_test):
|
||||
@ -305,8 +303,6 @@ def matchloop(apikey, competition, data, tests): # expects 3D array with [Team][
|
||||
return_vector[team_filtered[i]][variable_filtered[i]][test_filtered[i]] = result
|
||||
i += 1
|
||||
|
||||
print("metrics finished in " + str(time.time() - start))
|
||||
|
||||
push_match(apikey, competition, return_vector)
|
||||
|
||||
def load_metric(apikey, competition, match, group_name, metrics):
|
||||
|
Loading…
Reference in New Issue
Block a user