Browse Source
* bin & analytics folders * sys path & config relocation * fix analytics path in nodepull/1/head
Alexey Velikiy
6 years ago
committed by
GitHub
26 changed files with 20 additions and 14 deletions
@ -0,0 +1,2 @@
|
||||
from utils.common import * |
||||
from utils.segments import * |
@ -1,6 +1,6 @@
|
||||
import pandas as pd |
||||
|
||||
from common import timestamp_to_index |
||||
from utils.common import timestamp_to_index |
||||
|
||||
def parse_segment(segment, dataframe): |
||||
start = timestamp_to_index(dataframe, pd.to_datetime(segment['from'], unit='ms')) |
@ -1,13 +1,16 @@
|
||||
#!/usr/bin/env python3 |
||||
|
||||
import sys |
||||
import os |
||||
|
||||
#TODO: make wrapper script that set PYTHONPATH instead |
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'analytics')) |
||||
|
||||
import config |
||||
import json |
||||
import logging |
||||
import sys |
||||
import asyncio |
||||
import traceback |
||||
import os |
||||
|
||||
#TODO: make wrapper script that set PYTHONPATH instead |
||||
sys.path.append(os.path.join(os.path.dirname(__file__), 'utils')) |
||||
|
||||
import services |
||||
from analytic_unit_manager import handle_analytic_task |
@ -1,2 +0,0 @@
|
||||
from common import * |
||||
from segments import * |
Loading…
Reference in new issue