mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
parent
b3ab9156db
commit
6819aaf143
@ -1,8 +1,7 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from tra_analysis import Analysis as an
|
from tra_analysis import Analysis as an
|
||||||
from dataset import push_metric, load_metric
|
from data import pull_new_tba_matches, push_metric, load_metric
|
||||||
from data import pull_new_tba_matches
|
|
||||||
|
|
||||||
import signal
|
import signal
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# testing purposes only, not to be used or run
|
# testing purposes only, not to be used or run
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import multiprocessing
|
|
||||||
import os
|
import os
|
||||||
import math
|
import math
|
||||||
from multiprocessing import Pool
|
from multiprocessing import Pool
|
||||||
@ -10,10 +9,9 @@ import warnings
|
|||||||
import sys
|
import sys
|
||||||
import asyncio
|
import asyncio
|
||||||
import websockets
|
import websockets
|
||||||
import lockfile
|
|
||||||
|
|
||||||
from interface import splash, log, ERR, INF, stdout, stderr
|
from interface import splash, log, ERR, INF, stdout, stderr
|
||||||
from dataset import get_previous_time, set_current_time, load_match, push_match, load_metric, push_metric, load_pit, push_pit
|
from data import get_previous_time, set_current_time, load_match, push_match, load_metric, push_metric, load_pit, push_pit
|
||||||
from processing import matchloop, metricloop, pitloop
|
from processing import matchloop, metricloop, pitloop
|
||||||
|
|
||||||
config_path = "config.json"
|
config_path = "config.json"
|
||||||
|
@ -130,16 +130,15 @@ __all__ = [
|
|||||||
# imports:
|
# imports:
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import multiprocessing
|
|
||||||
import os
|
import os
|
||||||
import math
|
import math
|
||||||
from multiprocessing import Pool
|
from multiprocessing import Pool, freeze_support
|
||||||
import time
|
import time
|
||||||
import warnings
|
import warnings
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from interface import splash, log, ERR, INF, stdout, stderr
|
from interface import splash, log, ERR, INF, stdout, stderr
|
||||||
from dataset import get_previous_time, set_current_time, load_match, push_match, load_metric, push_metric, load_pit, push_pit
|
from data import get_previous_time, set_current_time, load_match, push_match, load_metric, push_metric, load_pit, push_pit
|
||||||
from processing import matchloop, metricloop, pitloop
|
from processing import matchloop, metricloop, pitloop
|
||||||
|
|
||||||
config_path = "config.json"
|
config_path = "config.json"
|
||||||
@ -396,5 +395,5 @@ def save_config(path, config_vector):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if sys.platform.startswith("win"):
|
if sys.platform.startswith("win"):
|
||||||
multiprocessing.freeze_support()
|
freeze_support()
|
||||||
main()
|
main()
|
Loading…
Reference in New Issue
Block a user