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